From 107ebe1a29ed71c2d9b996433b0e8b8b34f4d1bf Mon Sep 17 00:00:00 2001 From: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com> Date: Fri, 17 Jul 2026 11:55:01 +0200 Subject: [PATCH] =?UTF-8?q?ci:=20converge=20on=20`verify`=20=E2=80=94=20on?= =?UTF-8?q?e=20definition=20of=20the=20check=20bundle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI now calls the same package.json `verify` script an agent runs locally, instead of re-listing lint/typecheck/test. Change the checks in one place. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6910e64b..92dd9804 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,9 +24,6 @@ jobs: verify-frontend: runs-on: ubuntu-latest timeout-minutes: 20 - defaults: - run: - working-directory: frontend steps: - uses: actions/checkout@v4 @@ -40,13 +37,14 @@ jobs: cache-dependency-path: frontend/package-lock.json - name: Install + working-directory: frontend run: npm ci --legacy-peer-deps - - name: Lint - run: npm run lint - - - name: Typecheck - run: npx tsc --noEmit + # SSOT: one definition of "verified" lives in the ROOT package.json + # `verify` (frontend lint + typecheck), run identically here and locally. + # Runs from repo root — the script cds into frontend itself. + - name: Verify + run: npm run verify # Build is DEFERRED, not skipped silently. `prisma generate` currently # fails in CI on a missing engine (query_engine_bg.postgresql.wasm) — a