From 373891343300e94f7a563b6dde959fbc6aac851b Mon Sep 17 00:00:00 2001 From: Brendan Ryan Date: Fri, 13 Mar 2026 14:57:01 -0700 Subject: [PATCH] ci: enforce biome formatting in CI (fail instead of auto-fix) Add check:ci script that runs biome check without --write so CI actually fails on formatting violations instead of silently fixing them. --- .github/workflows/ci.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2f1cf93..92e8283d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,7 +52,7 @@ jobs: node-version: "24" cache: "pnpm" - run: pnpm install --frozen-lockfile - - run: pnpm check + - run: pnpm check:ci typecheck: name: Typecheck diff --git a/package.json b/package.json index 82b24c14..74efcad8 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "build": "node scripts/generate-discovery.ts && node scripts/build-diagrams.ts && node scripts/copy-vocs-theme.ts && node scripts/generate-cli-help.ts && vite build", "check": "biome check --write", + "check:ci": "biome check", "check:sdk-drift": "npx tsx .github/actions/sdk-drift-check/check-sdk-drift.ts", "check:types": "tsc --noEmit", "dev": "vite dev",