Skip to content

Commit

Permalink
ci: correctly provide registry credentials to yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
adalinesimonian committed Aug 27, 2021
1 parent 4a4e5c7 commit b0001d5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
run: git push origin gh-pages

- name: Publish to registry
run: yarn npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
yarn config set npmAlwaysAuth true
yarn config set npmAuthToken ${{ secrets.NPM_TOKEN }}
yarn npm publish

0 comments on commit b0001d5

Please sign in to comment.