From 29f810a57fb072a5c5215c23c74d9a8659fb86eb Mon Sep 17 00:00:00 2001 From: Kevin Hartman Date: Tue, 1 Sep 2026 10:51:12 -0500 Subject: [PATCH] ci: run apps/dashboard's own typecheck + tests in CI Root `npm test` covers tests/** only; the vendored apps/dashboard has its own package.json + vitest (~401 tests) that no CI job ran. Add a `dashboard` job (npm ci + tsc --noEmit + vitest run, working-directory apps/dashboard) so dashboard changes are gated on the dashboard's own suite. Runs on pull_request/push to main alongside build-and-test; npm ci relies on the now-public apps/dashboard lockfile. --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e35fd091..2ef6969bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,3 +25,26 @@ jobs: - name: Test run: npm test + + dashboard: + runs-on: ubuntu-latest + defaults: + run: + working-directory: apps/dashboard + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: "20" + cache: npm + cache-dependency-path: apps/dashboard/package-lock.json + + - name: Install dependencies + run: npm ci + + - name: Typecheck + run: npx tsc --noEmit + + - name: Test + run: npx vitest run