From 10b9413009829bcc42bb7cd0b7430e6f33e9c512 Mon Sep 17 00:00:00 2001 From: Matt Apperson Date: Fri, 3 Apr 2026 12:04:14 -0400 Subject: [PATCH] ci: split CI into parallel lint, typecheck, unit test, and e2e jobs The single sequential `validate` job is now four independent jobs that run in parallel, reducing PR feedback time. --- .github/workflows/ci.yaml | 46 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1a39cd4..1fe6296 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -5,7 +5,7 @@ on: branches: [main] jobs: - validate: + lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -21,6 +21,50 @@ jobs: - run: pnpm run lint + typecheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 22 + cache: pnpm + + - run: pnpm install --frozen-lockfile + - run: pnpm run typecheck + unit-tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 22 + cache: pnpm + + - run: pnpm install --frozen-lockfile + - run: pnpm run test + + e2e-tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: pnpm/action-setup@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 22 + cache: pnpm + + - run: pnpm install --frozen-lockfile + + - run: pnpm run test:e2e