Skip to content

Commit

Permalink
(chore) Set auth config before running release command (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen authored Jan 12, 2023
1 parent 0cc82ac commit 8ab2fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
node-version: "16.x"
registry-url: 'https://registry.npmjs.org'
- run: yarn
- run: yarn npm publish --access public --tag latest
- run: yarn config set npmAuthToken "${NODE_AUTH_TOKEN}" && yarn npm publish --access public --tag latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

Expand Down

0 comments on commit 8ab2fe9

Please sign in to comment.