Skip to content

Commit 9e1faea

Browse files
authored
Update release.yml
1 parent cf24fcb commit 9e1faea

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434

3535
- name: Release
3636
env:
37-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3838
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3939
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
40-
run: npx semantic-release
40+
run: |
41+
npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN
42+
npx semantic-release

0 commit comments

Comments
 (0)