Skip to content

Commit f056db8

Browse files
committed
ci: Use Node 24 for npm trusted publishing OIDC support
Node 22 ships npm v10 whose OIDC handshake protocol is not accepted by the npm registry for trusted publishing, causing misleading 404 errors. Node 24 ships npm >= 11.5.1 which has the working OIDC trusted publishing support. Also remove the unnecessary manual registry configuration step.
1 parent 43feafd commit f056db8

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

.github/workflows/gnd-binary-build.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,7 @@ jobs:
206206
steps:
207207
- uses: actions/setup-node@v6
208208
with:
209-
node-version: 22
210-
211-
- name: Configure npm registry
212-
run: npm config set registry https://registry.npmjs.org/
209+
node-version: 24
213210

214211
- name: Download gnd binary
215212
env:
@@ -282,10 +279,7 @@ jobs:
282279

283280
- uses: actions/setup-node@v6
284281
with:
285-
node-version: 22
286-
287-
- name: Configure npm registry
288-
run: npm config set registry https://registry.npmjs.org/
282+
node-version: 24
289283

290284
- name: Create wrapper package
291285
shell: bash

0 commit comments

Comments
 (0)