Skip to content

Commit

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

0 comments on commit e8aee3d

Please sign in to comment.