From 37a27e263500aec21afbd7ff9afa5b325b575a23 Mon Sep 17 00:00:00 2001 From: Reverend Smoke Date: Sun, 8 Feb 2026 20:15:12 -0500 Subject: [PATCH] Add CI workflow for typecheck, tests, and coverage artifact --- .github/workflows/ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 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 0000000..3bc4bc3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,33 @@ +name: CI + +on: + pull_request: + push: + branches: + - main + +jobs: + quality: + name: Typecheck, Test, Coverage + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Bun + uses: oven-sh/setup-bun@v2 + + - name: Install dependencies + run: bun install --frozen-lockfile + + - name: Typecheck + run: bun run typecheck + + - name: Test with coverage + run: bun test --coverage | tee coverage-summary.txt + + - name: Upload coverage summary + uses: actions/upload-artifact@v4 + with: + name: coverage-summary + path: coverage-summary.txt