From 32033f504b57f10766debd1232700d7863e1dfc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Tue, 7 Jul 2026 13:47:39 +0200 Subject: [PATCH] ci(e2e): build through the package script so prebuild assets exist MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The e2e job called next build directly, skipping the prebuild hook that generates the service-worker version stamp and the static i18n catalog assets — fourteen specs timed out waiting on a UI that never got its catalog. --- .github/workflows/e2e.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 95be81295..987fc94bd 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -69,7 +69,11 @@ jobs: - run: pnpm exec playwright install --with-deps chromium - - run: pnpm exec next build + # `pnpm build` (not bare `next build`): the prebuild hook generates + # the versioned service-worker stamp AND the static i18n catalog + # assets (public/i18n/.js) the client boots from — without + # them every UI interaction waits on missing catalogs. + - run: pnpm build # Client-bundle budget gate — rides this job because it is the one # place CI already has a production build on disk. Catches the