Skip to content

ci: enable npm trusted publishing - #16

Merged
CakeRepository merged 1 commit into
masterfrom
release/trusted-publishing-v3
Jul 30, 2026
Merged

ci: enable npm trusted publishing#16
CakeRepository merged 1 commit into
masterfrom
release/trusted-publishing-v3

Conversation

@CakeRepository

Copy link
Copy Markdown
Owner

Switches publish.yml from the long-lived NPM_TOKEN secret to npm Trusted Publishing through GitHub OIDC.

Changes:

  • grants id-token: write
  • removes NODE_AUTH_TOKEN
  • uses GitHub-hosted Node 24 and current npm CLI
  • disables package-manager caching for the release job
  • keeps version validation, duplicate-version protection, build, and tests
  • adds a one-time push trigger so merging this PR performs a real v3.0.0 trusted-publishing test

@CakeRepository
CakeRepository merged commit baf1d07 into master Jul 30, 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.

1 participant