Merge pull request #4095 from jeremymcs/fix/ci-integration-tests-build-prereqs

fix(ci): build artifacts in integration-tests job
This commit is contained in:
Jeremy McSpadden 2026-04-12 23:55:30 -05:00 committed by GitHub
commit c8e5414812

View file

@ -179,6 +179,17 @@ jobs:
- name: Install dependencies
run: npm ci
# Integration tests need the same compiled artifacts as the build job:
# - dist/loader.js and packages/pi-coding-agent/dist/** from `npm run build`
# - web/node_modules/.bin/next for tests that shell `build:web-host` at runtime
# Duplicating the build here (instead of sharing artifacts via needs: build)
# preserves wall-clock parallelism with the build job — see PR #4093.
- name: Install web host dependencies
run: npm --prefix web ci
- name: Build
run: npm run build
- name: Run integration tests
run: npm run test:integration