Skip to content

Fix npm trusted publishing workflow - #129

Merged
rezailmi merged 1 commit into
mainfrom
release/fix-trusted-publishing-node24
Jun 22, 2026
Merged

Fix npm trusted publishing workflow#129
rezailmi merged 1 commit into
mainfrom
release/fix-trusted-publishing-node24

Conversation

@rezailmi

Copy link
Copy Markdown
Owner

Summary

  • use Node 24 in the release job so npm trusted publishing has a supported Node/npm runtime
  • strip setup-node's token-auth npmrc entry before npm publish so npm can use OIDC

Context

The 0.2.21 release run reached npm publish, generated provenance, then failed with npm E404. npm docs require npm CLI 11.5.1+ and Node 22.14.0+ for trusted publishing; the release job was still on Node 20.

Verification

  • git diff --check

@rezailmi
rezailmi merged commit 9d13f06 into main Jun 22, 2026
3 checks passed
@rezailmi
rezailmi deleted the release/fix-trusted-publishing-node24 branch June 22, 2026 09:21
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.

1 participant