Skip to content

move to npm trusted publishing - #18

Open
wpalmeri wants to merge 1 commit into
mainfrom
npm-trusted-publishing
Open

move to npm trusted publishing#18
wpalmeri wants to merge 1 commit into
mainfrom
npm-trusted-publishing

Conversation

@wpalmeri

Copy link
Copy Markdown

Trust relationship already established. Enable provenance.

Trust relationship already established. Enable provenance.
Copilot AI review requested due to automatic review settings January 16, 2026 00:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request migrates the npm publishing workflow from token-based authentication to OIDC-based trusted publishing with provenance attestation. The changes add the necessary OIDC permissions and enable provenance during publishing, while removing the explicit NODE_AUTH_TOKEN environment variable from the publish step.

Changes:

  • Added OIDC permissions (id-token: write and contents: read) to the workflow
  • Modified the publish command to include the --provenance flag
  • Removed the NODE_AUTH_TOKEN environment variable from the publish step

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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