Skip to content

Commit

Permalink
fix: Fix npm token issue using pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
nandan-bhat committed Feb 12, 2025
1 parent 4df71ef commit 57e3a17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/actions/npm-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ runs:
else
TAG="latest"
fi
npm config set "//registry.npmjs.org/:_authToken" "${NPM_TOKEN}"
pnpm publish --publish-branch v4 --tag $TAG
env:
NODE_AUTH_TOKEN: ${{ inputs.npm-token }}
NPM_TOKEN: ${{ inputs.npm-token }}
VERSION: ${{ inputs.version }}
NPM_CONFIG_PROVENANCE: true

0 comments on commit 57e3a17

Please sign in to comment.