Skip to content

Commit b0f16d9

Browse files
committed
Node 24 ships with npm 10.8.2, apparently
1 parent f2a169e commit b0f16d9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,13 @@ jobs:
5353
run: |
5454
pnpm install --frozen-lockfile
5555
56-
# NPM trusted publishing requires npm CLI v11.5.1+. Note that pnpm uses
57-
# npm under the hood for publishes.
58-
- name: Print npm CLI version
56+
# NPM trusted publishing requires npm CLI v11.5.1+. Node.js 22 ships with
57+
# npm 10.x, so we need to upgrade. Note that pnpm uses npm under the hood
58+
# for publishes.
59+
- name: Upgrade npm for OIDC support
5960
run: |
60-
echo "npm version is $(npm --version)"
61+
npm install -g npm@11.11.0
62+
echo "✅ npm upgraded to $(npm --version)"
6163
6264
- name: Create Release Pull Request or Publish to npm
6365
id: changesets

0 commit comments

Comments
 (0)