feat(ci): remove quality checks from Docker image workflow

This commit is contained in:
2026-07-21 18:57:39 +08:00
parent 7f271ef2e0
commit 3e3d0ced85
-31
View File
@@ -8,39 +8,8 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
quality:
name: Quality and Bundle Budgets
runs-on: gitea-label
container:
image: cozsweet-act-runner-node24-docker:latest
env:
NEXT_TELEMETRY_DISABLED: "1"
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: publish:
name: Build and Push Docker Image name: Build and Push Docker Image
needs: quality
runs-on: gitea-label runs-on: gitea-label
container: container:
image: cozsweet-act-runner-node24-docker:latest image: cozsweet-act-runner-node24-docker:latest