-
Notifications
You must be signed in to change notification settings - Fork 10
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
[fei5403.1.workflowstonode20] Move workflows to node 20 #2144
Conversation
🦋 Changeset detectedLatest commit: 60f8bbd The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
GeraldRequired Reviewers
Don't want to be involved in this pull request? Comment |
npm Snapshot: Published🎉 Good news!! We've packaged up the latest commit from this PR (a11829c) and published all packages with changesets to npm. You can install the packages in webapp by running: ./services/static/dev/tools/deploy_wonder_blocks.js --tag="PR2144" Packages can also be installed manually by running: yarn add @khanacademy/wonder-blocks-<package-name>@PR2144 |
Size Change: +273 B (0%) Total Size: 91.6 kB
ℹ️ View Unchanged
|
A new build was pushed to Chromatic! 🚀https://5e1bf4b385e3fb0020b7073c-lqlmetqade.chromatic.com/ Chromatic results:
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2144 +/- ##
==========================================
- Coverage 97.06% 95.55% -1.51%
==========================================
Files 242 244 +2
Lines 28199 28256 +57
Branches 2459 2318 -141
==========================================
- Hits 27371 27000 -371
- Misses 828 1256 +428 see 33 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How'd this drop our code coverage by 1%??
I have no idea. Very curious. If we're using Node's built-in coverage tracking, maybe that changed. I can investigate after the main migration of we need to |
wonder-blocks/config/jest/test.config.js Lines 47 to 50 in 60f8bbd
We're using the v8 code coverage and I expect there have been some significant changes to that between v16 and v20 of Node. That probably accounts for the change in coverage stats. Node 20 is the first stable release of this feature. |
@somewhatabstract Ahh, ok - that's a bummer! |
Summary:
This updates the GitHub workflows to use Node 20 instead of 16.
Issue: FEI-5403
Test plan:
I verified that with Node 20, I could install node modules and also run a variety of commands:
yarn test
JSON.parse
. Instead ofSyntaxError: Unexpected token B in JSON at position 0
, the error looks likeSyntaxError: Unexpected token 'B', "BAD JSON" is not valid JSON
yarn typecheck
yarn lint