Skip to content

Commit c79a6b7

Browse files
authored
fix: use yarn env var for npm auth token (#3422)
2 parents 181d410 + a70b4d0 commit c79a6b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/cd-core.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ jobs:
2727
- name: Publish package
2828
run: yarn workspace @human-protocol/core npm publish --access public
2929
env:
30-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30+
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/cd-node-sdk.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
- name: Publish package
4343
run: yarn workspace @human-protocol/sdk npm publish --access public
4444
env:
45-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
45+
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)