fix(ci): T4-04 harden LHCI/Chromatic/smoke gate semantics
Some checks failed
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled
web-ci / ci (push) Has been cancelled
web-ci / e2e (push) Has been cancelled
web-ci / chromatic (push) Has been cancelled
web-ci / lighthouse (push) Has been cancelled

This commit is contained in:
Hermes Agent
2026-07-06 08:04:14 +08:00
parent ba733e76a0
commit ff72ce04eb
3 changed files with 11 additions and 6 deletions

View File

@@ -36,10 +36,10 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: TypeScript typecheck (G1 闸门: 0 any)
- name: TypeScript typecheck (G1 gate - 0 any)
run: pnpm typecheck
- name: ESLint (G1 闸门: 0 warning)
- name: ESLint (G1 gate - 0 warning)
run: pnpm lint
- name: Vitest (单元测试)
@@ -97,7 +97,7 @@ jobs:
runs-on: ubuntu-latest
needs: ci
timeout-minutes: 15
if: github.event_name == 'push' || github.event_name == 'pull_request'
if: (github.event_name == 'push' || github.event_name == 'pull_request') && secrets.CHROMATIC_TOKEN != ''
steps:
- uses: actions/checkout@v4
with: