Skip to content

Use production env token for npm releases - #9

Merged
DiTo97 merged 1 commit into
mainfrom
chore/trusted-publisher-setup
Apr 21, 2026
Merged

Use production env token for npm releases#9
DiTo97 merged 1 commit into
mainfrom
chore/trusted-publisher-setup

Conversation

@DiTo97

@DiTo97 DiTo97 commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • run the release job in the production environment so npm publish reads NPM_TOKEN from the environment secret
  • bump actions/setup-node to v5 in both workflows to clear the Node 20 action deprecation warning
  • keep the existing tag-driven release.yml flow and npm provenance publish step intact

Test plan

  • No local tests run (workflow-only changes)
  • Configure NPM_TOKEN in the production environment
  • Push the next v*.*.* tag and verify release.yml publishes successfully

🤖 Generated with Claude Code

Run npm publishes in the production environment so the release job reads its token from the environment secret, and bump setup-node to v5 to clear the Node 20 action deprecation warning.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@DiTo97
DiTo97 merged commit 9a75a45 into main Apr 21, 2026
2 checks passed
@DiTo97
DiTo97 deleted the chore/trusted-publisher-setup branch April 25, 2026 17:51
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