Skip to content

Commit

Permalink
npm config set
Browse files Browse the repository at this point in the history
  • Loading branch information
Toxblh committed Jan 28, 2020
1 parent 141d830 commit e302807
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tagged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
CI: true

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

Expand Down

0 comments on commit e302807

Please sign in to comment.