From ed15aa540018cc20244a5b9ffb8a22442672346c Mon Sep 17 00:00:00 2001 From: stdpi Date: Sat, 25 May 2024 18:16:53 +0700 Subject: [PATCH] fix(ci): only build check on boilerplate branch --- .github/workflows/client.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index 4ab948a..97d200c 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - boilerplate jobs: build-and-publish: @@ -37,6 +38,7 @@ jobs: echo "registry=https://npm.pkg.github.com/" >> .npmrc - name: Publish to GitHub Packages + if: github.ref == 'refs/heads/boilerplate' run: pnpm publish --access public --no-git-checks env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file