Skip to content

Commit 72de723

Browse files
committed
chore: set auth token via npm-set
1 parent de55b90 commit 72de723

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ jobs:
3535
run: |
3636
git config --global user.email "bot@noreply.lukasbach.com"
3737
git config --global user.name "lukasbachbot"
38-
yarn lerna publish ${{ github.event.inputs.bump }} --yes --no-verify-access --registry https://registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} --summary-file --loglevel silly
38+
npm set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }}
39+
yarn lerna publish ${{ github.event.inputs.bump }} --yes --no-verify-access --summary-file --loglevel silly
3940
env:
4041
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4142
- name: Release info

0 commit comments

Comments
 (0)