Skip to content

Enable NPM trusted publishing with OIDC#15

Merged
hillna merged 1 commit into
mainfrom
nick/inf-65-update-npm-publish-workflows-to-use-trusted-publishing
Jan 15, 2026
Merged

Enable NPM trusted publishing with OIDC#15
hillna merged 1 commit into
mainfrom
nick/inf-65-update-npm-publish-workflows-to-use-trusted-publishing

Conversation

@hillna

@hillna hillna commented Jan 13, 2026

Copy link
Copy Markdown

Summary

Update npm publish workflow to use OIDC trusted publishing with provenance.

Changes

  • Add id-token: write and contents: read permissions for OIDC authentication
  • Update to npx npm@11.7.0 publish with --provenance flag for supply chain security
  • Update actions to v6
  • Remove NODE_AUTH_TOKEN secret (no longer needed with OIDC)

Status

✅ Trusted publishing has been configured on npmjs.com for this package.

@linear

linear Bot commented Jan 13, 2026

Copy link
Copy Markdown

@hillna hillna self-assigned this Jan 14, 2026
@hillna hillna marked this pull request as ready for review January 14, 2026 18:46
- Add id-token: write and contents: read permissions for OIDC
- Update to npx npm@11.7.0 publish with --provenance flag
- Update actions to v6
@hillna hillna force-pushed the nick/inf-65-update-npm-publish-workflows-to-use-trusted-publishing branch from 41d9ba0 to 7d4bdec Compare January 14, 2026 22:19
@hillna hillna merged commit 082b625 into main Jan 15, 2026
1 check passed
@hillna hillna deleted the nick/inf-65-update-npm-publish-workflows-to-use-trusted-publishing branch January 15, 2026 15:53
@achim-k achim-k mentioned this pull request Feb 10, 2026
achim-k added a commit that referenced this pull request Feb 10, 2026
### Changelog
- Include cause property in communicated error fields (#17)
- Enable NPM trusted publishing with OIDC (#15)
- Fix npm security vulnerabilities (#19)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants