Skip to content

Commit eea9696

Browse files
authored
Actually build the frontend for Playwright nightlies (Stirling-Tools#6817)
# Description of Changes [Our nightlies have literally never passed before](https://github.com/Stirling-Tools/Stirling-PDF/actions/workflows/nightly.yml). As far as I can tell, that's because the frontend was never being built, so the Playwright tests would just never start up. I've forced a nightly run from this branch, and the Playwright tests still fail, but for legitimate failures now. It's a separate job to track down why they're actually failing, so I'm leaving that for followup work.
1 parent 3f7e898 commit eea9696

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/nightly.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
- name: Install all Playwright browsers
4242
run: task e2e:install
4343

44+
- name: Build frontend (production bundle for vite preview)
45+
env:
46+
VITE_BUILD_FOR_PREVIEW: "1"
47+
run: task frontend:build
48+
4449
- name: Run E2E tests (all browsers)
4550
run: task e2e:cross-browser
4651

0 commit comments

Comments
 (0)