Skip to content

Commit 0ff0eda

Browse files
committed
chore: fix npm auth in CI
1 parent 2cc6138 commit 0ff0eda

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/actions/yarn/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ runs:
88
uses: actions/setup-node@v3
99
with:
1010
node-version-file: .nvmrc
11+
registry-url: 'https://registry.npmjs.org'
1112
- name: Custom Cypress Cache Folder
1213
shell: bash
1314
run: |

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
HUSKY_ENABLED: true
5151
GH_TOKEN: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
5252
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
53+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5354
run: |
5455
npx lerna publish --yes --canary --dist-tag=alpha.${GITHUB_SHA:0:6} --preid=alpha.${GITHUB_SHA:0:6}
5556
@@ -60,5 +61,6 @@ jobs:
6061
HUSKY_ENABLED: true
6162
GH_TOKEN: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
6263
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
64+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6365
run: |
6466
npx lerna publish --yes --exact --conventional-commits --changelog-preset conventionalcommits --include-merged-tags --create-release=github

0 commit comments

Comments
 (0)