Skip to content

Commit

Permalink
Add --no-git-checks flag to pnpm publish command
Browse files Browse the repository at this point in the history
This change modifies the GitHub Actions workflow to include the --no-git-checks flag when publishing the package using pnpm. This ensures that git checks are skipped during the publish process, which can help prevent potential interruptions caused by local git state.
  • Loading branch information
dennisofficial committed Sep 24, 2024
1 parent 65b7321 commit 4c30017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ jobs:
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

- name: Publish package
run: pnpm publish --access public
run: pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 4c30017

Please sign in to comment.