Skip to content

Fix: Revert to NPM token authentication#72

Merged
alexpmule merged 2 commits intomainfrom
fix/revert-to-npm-token-auth
Jan 8, 2026
Merged

Fix: Revert to NPM token authentication#72
alexpmule merged 2 commits intomainfrom
fix/revert-to-npm-token-auth

Conversation

@alexpmule
Copy link
Contributor

Problem

OIDC/Trusted Publishers configuration is not working - GitHub Actions does not recognize id-token: write permission despite correct configuration.

Solution

Reverted to traditional NPM token authentication using NODE_AUTH_TOKEN with the token configured

Changes

  • Removed id-token: write permissions
  • Removed --provenance flag from npm publish
  • Added back NODE_AUTH_TOKEN environment variable
  • Added back registry-url in setup-node

Testing

After merge, verify the package publishes successfully to npmjs.com.

@alexpmule alexpmule self-assigned this Jan 8, 2026
@alexpmule alexpmule merged commit 4eec9e6 into main Jan 8, 2026
2 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.

1 participant