From 6d1dcf9cb7877b9e199714cf7f4a617672935a5c Mon Sep 17 00:00:00 2001 From: nnkogift Date: Mon, 26 Oct 2026 20:04:09 +0300 Subject: [PATCH] ci: add a typecheck job Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/ci.yml | 12 ++++++++++++ AGENTS.md | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c9e09d8..9160b52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,18 @@ jobs: - run: pnpm install --frozen-lockfile - run: pnpm lint + typecheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 + with: + node-version: 24 + cache: pnpm + - run: pnpm install --frozen-lockfile + - run: pnpm typecheck + test: runs-on: ubuntu-latest steps: diff --git a/AGENTS.md b/AGENTS.md index 5ee32f7..741953f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -38,7 +38,7 @@ pnpm test -- src/modules/program-playground/hooks/usePublishFormValues.test.ts pnpm test -- -t "some test name" ``` -CI (`.github/workflows/ci.yml`) runs lint, test, build and a Fallow audit (fed with test coverage) as separate jobs on pushes and PRs to `main`, `alpha` and `beta`. It does not run `pnpm typecheck`, so run that locally before pushing. `deploy.yml` and `release.yml` handle deployment and Changesets releases. +CI (`.github/workflows/ci.yml`) runs lint, typecheck, test, build and a Fallow audit (fed with test coverage) as separate jobs on pushes and PRs to `main`, `alpha` and `beta`. `deploy.yml` and `release.yml` handle deployment and Changesets releases. ## Source layout