Skip to content

Commit 4a04fe8

Browse files
committed
Use Node 24 in publish job to fix npm self-upgrade crash
The Update npm step was failing with "Cannot find module 'promise-retry'" on Node 22.22.2 due to npm/cli#9151 — npm@latest cannot self-upgrade from the npm bundled with Node 22.22.2. Node 24's bundled npm already includes the upstream fix from npm/cli#9152. Only the publish job is bumped; CI's Build & Test jobs stay on Node 22. Fixes #530
1 parent de28389 commit 4a04fe8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
- uses: actions/checkout@v4
112112
- uses: actions/setup-node@v4
113113
with:
114-
node-version: '22'
114+
node-version: '24'
115115
registry-url: 'https://registry.npmjs.org'
116116
- name: Update npm (OIDC/provenance support)
117117
run: npm i -g npm@latest

0 commit comments

Comments
 (0)