Skip to content

Commit

Permalink
chore: fix for npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
danielgolub committed May 18, 2023
1 parent c81b563 commit 4967b43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
node-version: 16
registry-url: 'https://registry.npmjs.org'
- run: npm i
- run: npm publish
- run: |
echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > .npmrc
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 4967b43

Please sign in to comment.