-
Notifications
You must be signed in to change notification settings - Fork 6
npm@latest and node 20 #234
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -70,10 +70,10 @@ jobs: | |||||||||
| name: build | ||||||||||
| - uses: actions/setup-node@v6 | ||||||||||
| with: | ||||||||||
| node-version: 22 | ||||||||||
| node-version: 20 | ||||||||||
| registry-url: 'https://registry.npmjs.org' | ||||||||||
| - name: Update npm to 10 (required for OIDC) | ||||||||||
| run: npm install -g npm@10 | ||||||||||
| - name: Update npm to latest (required for OIDC) | ||||||||||
| run: npm install -g npm@latest | ||||||||||
|
Comment on lines
+75
to
+76
|
||||||||||
| - name: Update npm to latest (required for OIDC) | |
| run: npm install -g npm@latest | |
| - name: Update npm to v10 (required for OIDC) | |
| run: npm install -g npm@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.
This switches
npm-publish-latestto Node 20, but the CI matrix builds/tests on Node 22/24 and.nvmrcpins v22.x. That means the publish path now runs on an untested Node version and is inconsistent with the repo’s declared Node version. Consider aligning the publish job with the tested/.nvmrc version, or add Node 20 to the build matrix (and ensure any tooling used during publish is compatible).