Skip to content

ci: add npm token auth to release workflow - #15

Merged
yogeshchoudhary147 merged 1 commit into
mainfrom
fix/release-workflow-npm-auth
Aug 24, 2026
Merged

ci: add npm token auth to release workflow#15
yogeshchoudhary147 merged 1 commit into
mainfrom
fix/release-workflow-npm-auth

Conversation

@yogeshchoudhary147

Copy link
Copy Markdown
Contributor

Wires NODE_AUTH_TOKEN through the release workflow so npm publish can authenticate to the public registry.

Changes

  • npm-publish/action.yml — add registry-url to setup-node, accept node-auth-token input, pass it as NODE_AUTH_TOKEN env var
  • release.yml — pass secrets.NODE_AUTH_TOKEN to the npm-publish action

Note

This uses a granular access token for the initial release. Will be replaced with OIDC trusted publishing after the first publish creates the package on npmjs.com.

@yogeshchoudhary147
yogeshchoudhary147 merged commit 0d878fe into main Aug 24, 2026
4 checks passed
@yogeshchoudhary147
yogeshchoudhary147 deleted the fix/release-workflow-npm-auth branch August 24, 2026 09:23
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