Skip to content

Commit

Permalink
workflow: --no-git-checks is required for pnpm when publishing from…
Browse files Browse the repository at this point in the history
… a tag

Due to pnpm/pnpm#5894
  • Loading branch information
haoqunjiang committed Nov 29, 2024
1 parent 647b010 commit 60565a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
node-version: 'lts/*'
registry-url: 'https://registry.npmjs.org'
- run: pnpm install
- run: pnpm publish
- run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 60565a1

Please sign in to comment.