From e5c7c2a1a1459359bb5d244f457f588aca888788 Mon Sep 17 00:00:00 2001 From: Elie Habib Date: Thu, 26 Feb 2026 09:30:08 +0400 Subject: [PATCH] ci: add TypeScript type-check workflow on PRs Runs npm run typecheck (tsc --noEmit) on every PR to catch type errors before merge. Would have prevented the #382 regression. --- .github/workflows/typecheck.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/typecheck.yml diff --git a/.github/workflows/typecheck.yml b/.github/workflows/typecheck.yml new file mode 100644 index 000000000..019e5b61b --- /dev/null +++ b/.github/workflows/typecheck.yml @@ -0,0 +1,22 @@ +name: Typecheck + +on: + pull_request: + paths-ignore: + - '*.md' + - '.planning/**' + - 'docs/**' + - 'e2e/**' + - 'scripts/**' + +jobs: + typecheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: '22' + cache: 'npm' + - run: npm ci + - run: npm run typecheck