Skip to content

Commit

Permalink
Fix release-npm.yml dist-tag npm token passing mechanism (#2717)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Sep 30, 2022
1 parent 9bb5afe commit 5afe373
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ jobs:
package=$(cat package.json | jq -er .name)
npm dist-tag add "$package@$release" latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# JS-DevTools/npm-publish overrides `NODE_AUTH_TOKEN` with `INPUT_TOKEN` in .npmrc
INPUT_TOKEN: ${{ secrets.NPM_TOKEN }}
release: ${{ steps.npm-publish.outputs.version }}

0 comments on commit 5afe373

Please sign in to comment.