Skip to content

Commit

Permalink
ci: Update npm publish command in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
microshine committed Aug 13, 2024
1 parent 2151bb9 commit cab9816
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ jobs:
run: npm run build

- name: Publish to npm
run: npm publish
run: |
npm set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
npm whoami --registry https://registry.npmjs.org/
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}

0 comments on commit cab9816

Please sign in to comment.