From 5544063f93e6cf4c00800688129e8812de87cdbe Mon Sep 17 00:00:00 2001 From: jeremylongshore Date: Tue, 14 Apr 2026 00:11:01 -0500 Subject: [PATCH] ci: add lint and typecheck workflow on push/PR Closes #147 Adds a lightweight CI quality gate that runs the existing `bun run lint` (biome) and `bun run check-types` (tsc via turbo) on every push to main and every pull request. Uses `bun run lint` instead of `bun run check` to avoid triggering 191 pre-existing format violations. Matches release.yml setup exactly: oven-sh/setup-bun@v2, Node 22, frozen lockfile. --- .github/workflows/ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..648a3410 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + quality: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: oven-sh/setup-bun@v2 + + - uses: actions/setup-node@v4 + with: + node-version: 22 + + - name: Install dependencies + run: bun install --frozen-lockfile + + - name: Lint + run: bun run lint + + - name: Type check + run: bun run check-types