ci(docker): bypass quality gate on test

This commit is contained in:
2026-07-16 16:31:01 +08:00
parent 54b9031622
commit aa801a3e18
2 changed files with 13 additions and 1 deletions
+8
View File
@@ -18,16 +18,24 @@ 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
if: ${{ github.ref != 'refs/heads/test' }}
run: pnpm quality
- name: Enforce bundle budgets
if: ${{ github.ref != 'refs/heads/test' }}
run: pnpm perf:bundle:check
publish: