Skip to content

Commit 48bbfb7

Browse files
committed
ci: use correct npm auth
1 parent 9cd84f4 commit 48bbfb7

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release-rc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ jobs:
2727
2828
- name: publish
2929
run: |
30+
npm config set //registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
31+
3032
git config user.email ${{ secrets.BOT_GIT_EMAIL }}
3133
git config user.name ${{ secrets.BOT_GIT_USERNAME }}
34+
3235
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish prerelease \
3336
--conventional-prerelease \
3437
--create-release github \

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ jobs:
3232
3333
- name: publish
3434
run: |
35+
npm config set //registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
36+
3537
git config user.email ${{ secrets.BOT_GIT_EMAIL }}
3638
git config user.name ${{ secrets.BOT_GIT_USERNAME }}
39+
3740
${GITHUB_WORKSPACE}/node_modules/.bin/lerna publish ${{ github.event.inputs.release_type }} \
3841
--conventional-graduate \
3942
--create-release github

0 commit comments

Comments
 (0)