Skip to content

Commit

Permalink
chore: update workflow for publish
Browse files Browse the repository at this point in the history
npm login
  • Loading branch information
mao committed May 13, 2023
1 parent 9d86de4 commit ccf9aaf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ jobs:
pnpm install
- name: Build package
run: pnpm build
- name: Login to npm
run: npm login --registry=https://registry.npmjs.org/ --always-auth
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Publish package
run: pnpm publish
env:
Expand Down

0 comments on commit ccf9aaf

Please sign in to comment.