Skip to content

Commit

Permalink
fix: github action
Browse files Browse the repository at this point in the history
  • Loading branch information
linjinze999 committed Apr 27, 2024
1 parent 6bf7121 commit 156ee5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- name: Publish to NPM
run: |
yarn build
echo $NPM_TOKEN
npx lerna publish from-package --loglevel -y
npm set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
npx lerna publish from-package -y
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 156ee5e

Please sign in to comment.