From 2bbf2d70bbd5bdbea9e1eaebfd0e99fbcd8be7c0 Mon Sep 17 00:00:00 2001 From: agent-company Date: Fri, 27 Mar 2026 10:08:06 +0000 Subject: [PATCH] CI: add tsc --noEmit TypeScript type checking to test job Adds a step to install Node.js and run tsc --noEmit in the frontend directory, catching TypeScript type errors before images are built. Ruff was already present; this completes issue #260. Closes leeworks-agents/SPARC#260 Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/build.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 106a517..7e42585 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -33,6 +33,14 @@ jobs: run: | ruff check SPARC/ tests/ + - name: Install Node.js and check TypeScript types + shell: sh + run: | + apk add --no-cache nodejs npm + cd frontend + npm ci + npx tsc --noEmit + - name: Run pytest shell: sh env: