From 852ddf3bdddca93fe94b16be8603173c8cd3c953 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Sun, 12 Apr 2026 23:18:08 -0500 Subject: [PATCH] perf(ci): run integration tests in parallel with build Split integration tests into a separate job that runs concurrently with the build+unit test job. Integration tests run from TypeScript source (no build artifact dependency), so they can start immediately after detect-changes without waiting for compilation. --- .github/workflows/ci.yml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fab425cfe..25c608877 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -157,12 +157,31 @@ jobs: - name: Run package tests run: npm run test:packages - - name: Run integration tests - run: npm run test:integration - - name: Check test coverage thresholds run: npm run test:coverage + integration-tests: + timeout-minutes: 15 + needs: detect-changes + if: needs.detect-changes.outputs.docs-only != 'true' + runs-on: blacksmith-4vcpu-ubuntu-2404 + + steps: + - name: Checkout repository + uses: actions/checkout@v6 + + - name: Setup Node.js + uses: actions/setup-node@v6 + with: + node-version: '24' + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - name: Run integration tests + run: npm run test:integration + windows-portability: timeout-minutes: 25 needs: detect-changes