Skip to content

fix(ci): use Node.js 24 for OIDC trusted publishing support#17

Merged
talissoncosta merged 1 commit intomainfrom
fix/npm-oidc-version
Feb 6, 2026
Merged

fix(ci): use Node.js 24 for OIDC trusted publishing support#17
talissoncosta merged 1 commit intomainfrom
fix/npm-oidc-version

Conversation

@talissoncosta
Copy link
Contributor

@talissoncosta talissoncosta commented Feb 6, 2026

Summary

  • Uses Node.js 24 in the publish job instead of Node.js 22
  • Node.js 24 ships with npm v11 which has proper OIDC trusted publishing support

Root Cause

Node.js 22 ships with npm v10 which has a bug causing misleading "Access token expired" errors during OIDC authentication with npm registry.

Test Results

  • v0.2.0 was successfully published to npm using the npm install -g npm@latest workaround
  • This PR uses Node.js 24 instead, which is a cleaner solution

Node.js 22 ships with npm v10 which has a bug with OIDC trusted
publishing. Node.js 24 ships with npm v11 which fixes this issue.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Zaimwa9 Zaimwa9 self-requested a review February 6, 2026 13:58
@talissoncosta talissoncosta merged commit 5fd108e into main Feb 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants