mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 12:43:16 +00:00
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
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:
parent
95d2774846
commit
6ef762b3e5
1 changed files with 14 additions and 2 deletions
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue