Skip to content

Commit 54f10c1

Browse files
committed
ci: use Node.js 24 for OIDC release
The release job set node-version 20 but installed npm@latest (npm 12), which requires Node.js >= 22.22.2, so `npm install -g npm@latest` failed with EBADENGINE. Node 20's bundled npm 10 also doesn't support OIDC trusted publishing (needs >= 11.5.1). Bump the release job to Node.js 24 (via setup-node v6) so npm@latest installs cleanly and supports trusted publishing.
1 parent 2d167ba commit 54f10c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
fetch-depth: 0
3535

3636
- name: Setup Node.js
37-
uses: actions/setup-node@v4
37+
uses: actions/setup-node@v6
3838
with:
39-
node-version: 20
39+
node-version: 24
4040
registry-url: 'https://registry.npmjs.org'
4141

4242
# OIDC trusted publishing requires npm >= 11.5.1

0 commit comments

Comments
 (0)