Skip to content

Commit b4b0243

Browse files
Use Node 24 in publish workflow for OIDC support
Node 22 ships npm v10, which doesn't support the OIDC handshake for trusted publishing. The registry silently rejects the token and returns a misleading 404. Node 24 ships npm v11.5.1+ which handles the handshake correctly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4efb4f6 commit b4b0243

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
version: '10.27.0' # Sync with mise.toml
2020
- uses: actions/setup-node@v4
2121
with:
22-
node-version: '22'
22+
node-version: '24'
2323
registry-url: https://registry.npmjs.org
2424
- run: pnpm install
2525
- run: pnpm run build

0 commit comments

Comments
 (0)