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:
Johnpaul
2026-01-29 03:09:44 +01:00
parent 0fdbd77ac8
commit 69ef8ff804
2 changed files with 4 additions and 0 deletions

View File

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

View File

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