Skip to content

Commit

Permalink
Add token to .npmrc during publish
Browse files Browse the repository at this point in the history
  • Loading branch information
aulisius committed Aug 2, 2023
1 parent 9e7d0ab commit 220ca61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Registry
run: printf "\n//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
- uses: actions/setup-node@v1
with:
node-version: 16.x
Expand Down

0 comments on commit 220ca61

Please sign in to comment.