Skip to content

Bump node to 22.x for npm OIDC trusted publishing#192

Merged
leoromanovsky merged 1 commit intomainfrom
fix/oidc-node-version
Mar 3, 2026
Merged

Bump node to 22.x for npm OIDC trusted publishing#192
leoromanovsky merged 1 commit intomainfrom
fix/oidc-node-version

Conversation

@leoromanovsky
Copy link
Copy Markdown
Collaborator

Motivation

npm trusted publishing (OIDC) requires Node >= 22 (docs). The release workflow was using 20.x, causing the OIDC token exchange to fail with "Access token expired or revoked".

Changes

  • release.yaml: node-version: '20.x'node-version: '22.x'

Decisions

  • Only changed the release workflow, not CI (which doesn't need npm auth)
  • After merging, the v1.1.0 release tag needs to be re-pointed at main and the release re-created

npm trusted publishing (OIDC) requires Node >= 22. Updated both
release.yaml and ci.yaml from 20.x to 22.x.
@leoromanovsky leoromanovsky force-pushed the fix/oidc-node-version branch from 8572350 to 705536d Compare March 3, 2026 16:36
@leoromanovsky leoromanovsky marked this pull request as ready for review March 3, 2026 16:36
@leoromanovsky leoromanovsky requested a review from a team as a code owner March 3, 2026 16:36
@leoromanovsky leoromanovsky merged commit 37bc05c into main Mar 3, 2026
4 checks passed
@leoromanovsky leoromanovsky deleted the fix/oidc-node-version branch March 3, 2026 20:30
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