From a83fbc90d91f683d3a16fb218333e92af4dfbf50 Mon Sep 17 00:00:00 2001 From: Aleksandr Barkhatov Date: Fri, 24 Jul 2026 09:30:45 +0200 Subject: [PATCH] ci: type-check the full project graph in typecheck job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit typecheck ran `tsc --noEmit`, which in non-build mode ignores project references. The root tsconfig lists `"files": []`, so the command type-checked zero files and every type error in `src` (including tests) passed CI silently — caught only by a local `tsc -b` in the build. Switch to `tsc -b` so the typecheck job checks the same graph as the build. `noEmit` in tsconfig.app.json keeps it emit-free. Signed-off-by: Aleksandr Barkhatov --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d781655c..5afba9b4 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "build": "tsc -b && vite build", "lint": "eslint . --max-warnings 0", "format": "prettier --write \"**/*.{ts,tsx}\"", - "typecheck": "tsc --noEmit", + "typecheck": "tsc -b", "test": "vitest run --project=unit", "test:watch": "vitest --project=unit", "test:coverage": "vitest run --project=unit --coverage",