Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI and drop support for Node 12 #2

Closed
wants to merge 4 commits into from

Conversation

mikrostew
Copy link
Owner

@mikrostew mikrostew commented Nov 29, 2022

Description TBD

Updated Node LTS Versions

This drops support for Node 12.x (which is EOL as of 2022/04/30), and adds support for Node 18+.

The tests now run against 14.x and 16.x.

I had to update workerpool to pull in the fix for Node16 mentioned in this issue.

And I updated to a more recent version of Yarn.

Fixed the Legacy Mocha Tests

These have been failing for a while, with this error:

Error: Unable to require module 'crypto' because it was not in the whitelist.

So I added that to fastbootDependencies, which fixed the issue.

Fixed the Ember-Try Tests

These have also been failing for a while, with this error:

Build Error (broccoli-persistent-filter:Babel > [Babel: @ember/test-helpers]) in @ember/test-helpers/-internal/build-registry.js

[BABEL]: Cannot find module 'babel-plugin-dynamic-import-node/utils'

I fixed that by preventing ember-try from running with --no-lockfile (which it does by default, and was causing this dependency mismatch when running the tests).

@mikrostew mikrostew force-pushed the v4-implicit-injections branch 2 times, most recently from d07d6e6 to 4615f0b Compare November 29, 2022 15:32
@mikrostew mikrostew force-pushed the v4-implicit-injections branch from 4615f0b to 7139016 Compare November 29, 2022 19:45
@mikrostew mikrostew force-pushed the v4-implicit-injections branch from 7139016 to 439ed4e Compare November 30, 2022 16:12
@mikrostew mikrostew changed the title Remove implicit-injections to avoid errors with Ember4 Fix CI and drop support for Node 12 Nov 30, 2022
@mikrostew
Copy link
Owner Author

this was a WIP PR to iterate on CI issues - closed to create a new PR

@mikrostew mikrostew closed this Nov 30, 2022
@mikrostew mikrostew deleted the v4-implicit-injections branch November 30, 2022 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant