From beb3f01a27b68116992af1efabe623f3a15277e7 Mon Sep 17 00:00:00 2001 From: Amit Paz Date: Fri, 19 Jun 2026 12:02:08 +0300 Subject: [PATCH] ci: add a tsc build step so type errors fail CI CI ran only `pnpm test` (vitest), which transpiles per-file and does NOT type-check, so TypeScript errors and a broken published dist/ could ship green. Add `pnpm run build` (= tsc) before the tests so type regressions are caught. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74321f2..3e8eb6d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,4 +19,5 @@ jobs: node-version: 22 cache: pnpm - run: pnpm install --frozen-lockfile + - run: pnpm run build - run: pnpm test