mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-01 21:10:13 +00:00
fix: skip frontend rebuild in integration test job
The integration_tests job restores the pre-built frontend dist from cache and copies it to the embed location, but then runs make build which unconditionally rebuilds the frontend via npm — failing because node_modules aren't installed. Use go build directly since the frontend is already embedded.
This commit is contained in:
parent
c9547f226e
commit
cae9ed7332
1 changed files with 4 additions and 1 deletions
5
.github/workflows/create-release.yml
vendored
5
.github/workflows/create-release.yml
vendored
|
|
@ -241,7 +241,10 @@ jobs:
|
|||
cache: true
|
||||
|
||||
- name: Build Pulse for integration tests
|
||||
run: make build
|
||||
run: |
|
||||
# Frontend dist is already restored from cache and copied to embed location.
|
||||
# Skip frontend rebuild (which needs node_modules) and build Go binary directly.
|
||||
go build -o pulse ./cmd/pulse
|
||||
|
||||
- name: Build mock GitHub server
|
||||
run: docker build -t pulse-mock-github:test tests/integration/mock-github-server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue