Skip to content

Commit 2c167e4

Browse files
committed
ci(release): run releases on node 24 for npm trusted publishing
npm's native OIDC trusted publishing needs npm >= 11.5.1 (node 24); the node 22 runner shipped npm 10, so the publish step failed with ENEEDAUTH right after a successful token exchange.
1 parent 779c54b commit 2c167e4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333

3434
- uses: actions/setup-node@v4
3535
with:
36-
node-version: 22
36+
# npm trusted publishing (OIDC) needs npm >= 11.5.1, shipped with node 24.
37+
node-version: 24
3738
cache: pnpm
3839

3940
- name: Install dependencies

0 commit comments

Comments
 (0)