From ac99694df0bf8761f34dcc00a0c249aef2a14b99 Mon Sep 17 00:00:00 2001 From: Tryston Perry Date: Fri, 5 Jun 2026 10:07:34 -0700 Subject: [PATCH 1/2] ci: run typecheck, tests, and build on PRs Adds a CI workflow that runs on pull requests targeting master and pushes to master so regressions are caught before merge instead of only at publish time. --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..8483abe --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI +on: + pull_request: + branches: [master] + push: + branches: [master] +jobs: + checks: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup pnpm + uses: pnpm/action-setup@v4 + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 22 + - name: Install Dependencies + run: pnpm install --frozen-lockfile + - name: Typecheck + run: pnpm typecheck + - name: Test + run: pnpm test + - name: Build + run: pnpm build From 93f51207547f2d0402038360cd31a3a104a5f8ab Mon Sep 17 00:00:00 2001 From: Tryston Perry Date: Fri, 5 Jun 2026 10:17:16 -0700 Subject: [PATCH 2/2] ci: pin pnpm version and run tests after build --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8483abe..4fc78db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,8 @@ jobs: uses: actions/checkout@v4 - name: Setup pnpm uses: pnpm/action-setup@v4 + with: + version: 10 - name: Setup Node uses: actions/setup-node@v4 with: @@ -20,7 +22,7 @@ jobs: run: pnpm install --frozen-lockfile - name: Typecheck run: pnpm typecheck - - name: Test - run: pnpm test - name: Build run: pnpm build + - name: Test + run: pnpm test