Skip to content

Commit 4dec42f

Browse files
committed
ci: add NODE_AUTH_TOKEN for npm publish
1 parent 32a65c3 commit 4dec42f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,13 @@ jobs:
6969
env:
7070
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7171
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
72+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7273
run: npx semantic-release --dry-run
7374

7475
- name: Semantic Release
7576
if: ${{ github.event.inputs.dry_run != 'true' }}
7677
env:
7778
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7879
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
80+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7981
run: npx semantic-release

0 commit comments

Comments
 (0)