refactor(data): establish API contract guardrails
CI / Quality and Bundle Budgets (push) Has been cancelled

This commit is contained in:
2026-07-16 20:09:30 +08:00
parent cc06ed034d
commit 19d36ed5bf
24 changed files with 498 additions and 230 deletions
+16
View File
@@ -29,5 +29,21 @@ jobs:
- name: Run quality checks
run: pnpm quality
- name: Check Python backend API surface
env:
BACKEND_OPENAPI_SOURCE: ${{ secrets.BACKEND_OPENAPI_SOURCE }}
run: |
if [ -z "$BACKEND_OPENAPI_SOURCE" ]; then
echo "BACKEND_OPENAPI_SOURCE is not configured; skipping live OpenAPI comparison."
exit 0
fi
pnpm contract:check
- name: Install Chromium for mobile smoke tests
run: pnpm exec playwright install --with-deps chromium
- name: Run critical mobile smoke tests
run: pnpm test:e2e:mobile-smoke
- name: Enforce bundle budgets
run: pnpm perf:bundle:check