Skip to content

Commit

Permalink
Add yarn auth
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelangelmorenochacon committed Jul 1, 2024
1 parent 241cc36 commit 13255aa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ jobs:
console.log(`Release type: ${releaseType}`)
return releaseType
- name: Configure yarn auth
if: startsWith(github.ref, 'refs/tags/')
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
yarn config set npmAuthToken "${NODE_AUTH_TOKEN}"
- name: Publish release
if: startsWith(github.ref, 'refs/tags/')
env:
Expand Down

0 comments on commit 13255aa

Please sign in to comment.