There was an error while loading. Please reload this page.
2 parents 9e312e2 + e16ebd8 commit 25c3691Copy full SHA for 25c3691
1 file changed
.github/workflows/release.yml
@@ -15,7 +15,13 @@ jobs:
15
16
- uses: actions/setup-node@v4
17
with:
18
- node-version: '22'
+ # Node 24 ships with npm 11.x, which satisfies the >=11.5.1
19
+ # requirement for OIDC trusted publishing. Node 22's bundled
20
+ # npm 10.x would need an upgrade, but `npm install -g npm@latest`
21
+ # corrupts npm's own node_modules mid-upgrade (see v1.4.2 release
22
+ # failure, MODULE_NOT_FOUND on promise-retry).
23
+ node-version: '24'
24
+ registry-url: 'https://registry.npmjs.org'
25
26
- name: Install latest npm (trusted publishing requires >=11.5.1)
27
run: npm install -g npm@latest
0 commit comments