Skip to content

chore(ci): support npm trusted publishers in release workflow#14

Merged
han4wluc merged 1 commit intomainfrom
chore/npm-trusted-publish-workflow
Feb 27, 2026
Merged

chore(ci): support npm trusted publishers in release workflow#14
han4wluc merged 1 commit intomainfrom
chore/npm-trusted-publish-workflow

Conversation

@han4wluc
Copy link
Copy Markdown
Contributor

Summary

  • update npm publish workflow for npm Trusted Publishers (GitHub Actions OIDC)
  • add required workflow permissions: id-token: write, contents: read
  • switch to actions/setup-node@v4 with Node 24
  • publish with npm publish without NODE_AUTH_TOKEN secret
  • keep workflow_dispatch for manual runs

Reference

https://docs.npmjs.com/trusted-publishers#supported-cicd-providers

Follow-up

After merge, configure npm Trusted Publisher to point to this repository and this workflow file path.

@han4wluc han4wluc merged commit b8ec498 into main Feb 27, 2026
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