Skip to content

Commit

Permalink
fix(release): build publish env
Browse files Browse the repository at this point in the history
  • Loading branch information
litingyes committed Jan 5, 2025
1 parent f96c21c commit 9270bcc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,16 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: https://registry.npmjs.org
cache: pnpm

- run: pnpm install

- run: pnpm test

- run: npm publish --access public
- run:
- npm ci
- npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH__TOKEN }}

Expand Down

0 comments on commit 9270bcc

Please sign in to comment.