Skip to content

Commit

Permalink
ci: token to github packages npm registry
Browse files Browse the repository at this point in the history
  • Loading branch information
matzar committed Aug 28, 2023
1 parent e8aee3d commit c43dc3a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ jobs:
with:
node-version: 18
registry-url: https://npm.pkg.github.com/
- run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
- run: echo "//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}" >> .npmrc
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: npm ci
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Expand Down

0 comments on commit c43dc3a

Please sign in to comment.