feat(ci): remove quality checks from Docker image workflow
This commit is contained in:
@@ -8,36 +8,6 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
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:
|
||||
name: Build and Push Docker Image
|
||||
needs: quality
|
||||
|
||||
Reference in New Issue
Block a user