From 3cabdb6b7951e580103b9accec7ef1aab73d3520 Mon Sep 17 00:00:00 2001 From: Andrei Hajdukewycz Date: Wed, 26 Aug 2026 23:14:40 +0000 Subject: [PATCH] Run type checking with local tests --- .github/workflows/deploy.yml | 2 +- package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f530642..2de40de 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -48,7 +48,7 @@ jobs: run: npm ci - name: Run vitest - run: npm test + run: npm run test:unit typecheck: name: Typecheck diff --git a/package.json b/package.json index 6f7d4d2..6420791 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "build": "vite build", "preview": "vite preview", "serve": "vite preview", - "test": "vitest run", + "test": "npm run test:unit && npm run typecheck", + "test:unit": "vitest run", "test:watch": "vitest", "test:ui": "vitest --ui", "lint": "eslint .",