Skip to content

Commit 5afe373

Browse files
authored
Fix release-npm.yml dist-tag npm token passing mechanism (#2717)
1 parent 9bb5afe commit 5afe373

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release-npm.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@ jobs:
3636
package=$(cat package.json | jq -er .name)
3737
npm dist-tag add "$package@$release" latest
3838
env:
39-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
39+
# JS-DevTools/npm-publish overrides `NODE_AUTH_TOKEN` with `INPUT_TOKEN` in .npmrc
40+
INPUT_TOKEN: ${{ secrets.NPM_TOKEN }}
4041
release: ${{ steps.npm-publish.outputs.version }}

0 commit comments

Comments
 (0)