Skip to content

Commit

Permalink
Adds yarn npm auth config (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
GSingh01 authored Jun 27, 2022
1 parent 3ca4e2b commit 9fa0e13
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV_TOKEN}}
- run: yarn publish
- name: Setup .yarnrc.yml
run: |
yarn config set npmAuthToken $NPM_TOKEN
yarn config set npmAlwaysAuth true
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
NPM_TOKEN: ${{ secrets.npm_token }}
- run: yarn publish

0 comments on commit 9fa0e13

Please sign in to comment.