Skip to content

Commit

Permalink
Try to fix registry
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorKowalczyk committed Jun 13, 2022
1 parent f455d33 commit 8db5047
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: |
echo @igorkowalczyk:https://registry.npmjs.org/ > .npmrc
echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN_GITHUB }}

0 comments on commit 8db5047

Please sign in to comment.