mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-31 05:19:53 +00:00
fix: build frontend with IS_NIGHTLY=true in CI workflows
The test was failing because the frontend was built without IS_NIGHTLY=true, so the compiled code had __IS_NIGHTLY__ set to false. Setting IS_NIGHTLY=true during test runtime didn't affect the already-compiled code. This fix ensures the frontend is built with IS_NIGHTLY=true during the build phase in the CI workflows, so the compiled code will have the correct value.
This commit is contained in:
2
.github/workflows/ci-tests-e2e.yaml
vendored
2
.github/workflows/ci-tests-e2e.yaml
vendored
@@ -22,6 +22,8 @@ jobs:
|
||||
uses: ./.github/actions/setup-frontend
|
||||
with:
|
||||
include_build_step: true
|
||||
env:
|
||||
IS_NIGHTLY: 'true'
|
||||
|
||||
# Upload only built dist/ (containerized test jobs will pnpm install without cache)
|
||||
- name: Upload built frontend
|
||||
|
||||
@@ -63,6 +63,8 @@ jobs:
|
||||
uses: ./.github/actions/setup-frontend
|
||||
with:
|
||||
include_build_step: true
|
||||
env:
|
||||
IS_NIGHTLY: 'true'
|
||||
|
||||
# Upload built dist/ (containerized test jobs will pnpm install without cache)
|
||||
- name: Upload built frontend
|
||||
|
||||
Reference in New Issue
Block a user