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:
commit
c8e5414812
1 changed files with 11 additions and 0 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue