Skip to content

Commit

Permalink
fix: pnpm publish時にブランチを指定 (#578)
Browse files Browse the repository at this point in the history
* fix: pnpm publish時のブランチチェックを無効化

* fix: 公開するブランチを明示的に指定する
  • Loading branch information
ibulog authored Dec 19, 2024
1 parent 545cbf6 commit 9e5e4a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publishRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ jobs:
if: ${{ env.IS_PRERELEASE == 'false' }}
- run: pnpm release --prerelease
if: ${{ env.IS_PRERELEASE == 'true' }}
- run: pnpm publish
- run: pnpm publish --publish-branch release-candidate
if: ${{ env.IS_PRERELEASE == 'false' }}
env:
NODE_AUTH_TOKEN: ${{ secrets.KUFU_NPM_RELEASE_TOKEN }}
- run: pnpm publish --tag prerelease
- run: pnpm publish --tag prerelease --publish-branch release-candidate
if: ${{ env.IS_PRERELEASE == 'true' }}
env:
NODE_AUTH_TOKEN: ${{ secrets.KUFU_NPM_RELEASE_TOKEN }}
Expand Down

0 comments on commit 9e5e4a7

Please sign in to comment.