From 9e5e4a7ca2b9bf9451210267069d3ebcba3870bd Mon Sep 17 00:00:00 2001 From: ibulog <20479184+ibulog@users.noreply.github.com> Date: Thu, 19 Dec 2024 11:05:47 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20pnpm=20publish=E6=99=82=E3=81=AB?= =?UTF-8?q?=E3=83=96=E3=83=A9=E3=83=B3=E3=83=81=E3=82=92=E6=8C=87=E5=AE=9A?= =?UTF-8?q?=20(#578)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: pnpm publish時のブランチチェックを無効化 * fix: 公開するブランチを明示的に指定する --- .github/workflows/publishRelease.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publishRelease.yml b/.github/workflows/publishRelease.yml index 72daba7..7d8043a 100644 --- a/.github/workflows/publishRelease.yml +++ b/.github/workflows/publishRelease.yml @@ -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 }}