Skip to content

Commit

Permalink
ci: disable git checks to allow publishes from tags in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Dec 12, 2024
1 parent 0ba2607 commit b90c8b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:

- name: 🚢 Deploy to NPM as 'latest'
if: github.event.release.prerelease == false
run: pnpm publish
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

- name: 🚢 Deploy to NPM as 'beta'
if: github.event.release.prerelease == true
run: pnpm publish --tag beta
run: pnpm publish --tag beta --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

Expand Down

0 comments on commit b90c8b9

Please sign in to comment.