Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
Fix publishing to GitHub Packages Registry.
(see actions/setup-node#73)
  • Loading branch information
jbelien authored May 24, 2020
1 parent 009951e commit a585ae4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
registry-url: https://npm.pkg.github.com/jbelien/
scope: '@jbelien'
- run: npm ci
- run: npm publish
- run: |
npm config set scope "@jbelien"
npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{github.token}}

0 comments on commit a585ae4

Please sign in to comment.