Skip to content

ci: publisher using npm trusted publisher with OIDC#1347

Merged
pedro-martins-brisa merged 1 commit intomainfrom
ci-publisher-with-OIDC
Feb 10, 2026
Merged

ci: publisher using npm trusted publisher with OIDC#1347
pedro-martins-brisa merged 1 commit intomainfrom
ci-publisher-with-OIDC

Conversation

@pedro-martins-brisa
Copy link
Member

Description

This PR updates the release workflow to use npm's Trusted Publishing (OIDC) instead of token-based authentication. This improves security by eliminating the need for a long-lived NODE_AUTH_TOKEN secret.

Proposed Changes

  • Removed registry-url and scope configuration from actions/setup-node.
  • Removed the NODE_AUTH_TOKEN environment variable usage.
  • Updated the npm publish step to rely on OIDC authentication with provenance.
  • Modified: .github/workflows/release.yml

Compliance

  • I have verified that this change complies with our code and contribution policies.
  • I have verified that this change does not cause regressions and does not affect other parts of the code.

References

npm Trusted Publishing Documentation

@pedro-martins-brisa pedro-martins-brisa merged commit e4f3ab0 into main Feb 10, 2026
3 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.

3 participants