-
Notifications
You must be signed in to change notification settings - Fork 144
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
@W-14599658@ Fix: update packages to include npm 10 #1597
Conversation
…/pwa-kit into ju/update-npm-10
npm: [8, 9, 10] | ||
exclude: # node 16 is not compatible with npm 10 | ||
- node: 16 | ||
npm: 10 | ||
runs-on: ubuntu-latest | ||
env: | ||
# The "default" npm is the one that ships with a given version of node. |
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.
Does CI run with node 18.0 or latest 18? As of node 18.19.0, the default npm is now 10.
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.
Based on the CI, seems like its actually v18.18.2
, should we try to pin it to a version greater than or equal to v18.19.0
?
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.
v18.19.0 was only released last week, so it seems like the tooling does use latest 18, but just hasn't pulled in the new release yet. I'd say leave keep what we have for now, but set a reminder to double check in like a week or two, maybe?
Description
Starting with Node
v18.19.0
, npm is updated to v10, meaning anytime anyone tries to runnpm i
with Node version greater thanv18.19.0
they error out since all packages look for"npm":"^8.0.0 || ^9.0.0"
. This PR adds in npm 10.This PR also updates the CI to include npm 10, and excludes the combination of node 16 with npm 10 from the testing matrix as they are incompatible
Related Github Issue: #1594
Types of Changes
Changes
How to Test-Drive This PR
Checklists
General
Accessibility Compliance
You must check off all items in one of the follow two lists:
or...
Localization