ci: add typecheck gate and fix the type errors it surfaces (#163)
Some checks are pending
CI / Lint (push) Waiting to run
CI / Format check (push) Waiting to run
CI / Typecheck (push) Waiting to run
CI / Unit tests (push) Waiting to run
CI / Playwright E2E (push) Waiting to run
CI / Docker build smoke (push) Waiting to run
CI / Triage ledger up to date (push) Waiting to run
CI / ui bun.lock in sync (push) Waiting to run

* fix: remove unused imports

* feat: add typecheck to ci.yml

* chore: typecheck test commit

* Revert "chore: typecheck test commit"

This reverts commit f46971ec9a.
This commit is contained in:
Adam Moussa 2026-07-09 19:30:02 -04:00 • committed by GitHub
parent 95d2774846
commit 6ef762b3e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,6 +39,19 @@ jobs:
- name: Run format check
run: make format-check
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
- name: Install UI dependencies
working-directory: ui
run: bun install --frozen-lockfile
- name: Run Typecheck
working-directory: ui
run: bun run typecheck
unit-tests:
name: Unit tests
runs-on: ubuntu-latest
@ -120,5 +133,4 @@ jobs:
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
- name: ui/package.json and ui/bun.lock agree
working-directory: ui
run: bun install --frozen-lockfile
run: bun install --frozen-lockfile