Skip to content

Commit 4308271

Browse files
committed
ci: test fix deploy tokens
1 parent 729d73b commit 4308271

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/publish.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
run: npm run build
3030

3131
- name: Publish package
32-
run: npm publish --access public
33-
env:
34-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
35-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
32+
run: |
33+
npm set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
34+
npm publish --access public

0 commit comments

Comments
 (0)