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.
This commit is contained in:
Jeremy 2026-04-12 23:18:08 -05:00
parent c189b2152e
commit 852ddf3bdd

View file

@ -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