Skip to content

Commit 8ab2fe9

Browse files
authored
(chore) Set auth config before running release command (#59)
1 parent 0cc82ac commit 8ab2fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
node-version: "16.x"
109109
registry-url: 'https://registry.npmjs.org'
110110
- run: yarn
111-
- run: yarn npm publish --access public --tag latest
111+
- run: yarn config set npmAuthToken "${NODE_AUTH_TOKEN}" && yarn npm publish --access public --tag latest
112112
env:
113113
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
114114

0 commit comments

Comments
 (0)