Skip to content

Commit

Permalink
task: publish with --no-git-checks
Browse files Browse the repository at this point in the history
  • Loading branch information
cngJo committed May 30, 2023
1 parent 08c5ef1 commit 8912e19
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ jobs:
version: 8.6.0
run_install: false

- run: pnpm publish
# --no-git-checks is needed, because this pipelies runs on the pushed tag which is in a detached HEAD state
- run: pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -76,6 +77,7 @@ jobs:
version: 8.6.0
run_install: false

- run: pnpm publish --access public
# --no-git-checks is needed, because this pipelies runs on the pushed tag which is in a detached HEAD state
- run: pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 8912e19

Please sign in to comment.