refactor(ci): skip quality gate for test branch

This commit is contained in:
2026-07-17 10:23:07 +08:00
parent 19d36ed5bf
commit 93efcb6604
2 changed files with 7 additions and 49 deletions
+7
View File
@@ -18,10 +18,16 @@ jobs:
SENTRY_UPLOAD_SOURCEMAPS: "0"
steps:
- name: Skip quality gate for test branch
if: ${{ github.ref == 'refs/heads/test' }}
run: echo "Quality gate is disabled for the test branch."
- name: Checkout
if: ${{ github.ref != 'refs/heads/test' }}
uses: actions/checkout@v4
- name: Install dependencies
if: ${{ github.ref != 'refs/heads/test' }}
run: pnpm install --frozen-lockfile
- name: Run quality checks
@@ -29,6 +35,7 @@ jobs:
run: pnpm quality
- name: Enforce bundle budgets
if: ${{ github.ref != 'refs/heads/test' }}
run: pnpm perf:bundle:check
publish: