From 62318ac5c9e869726de717f7d354a9c15c6b291c Mon Sep 17 00:00:00 2001 From: Johan Persson Date: Fri, 30 Jan 2026 13:56:24 +0100 Subject: [PATCH] ci(e2e): add BUI build step to E2E workflows The @backstage/ui package has a custom build script that is not recognized by `yarn backstage-cli repo build`, so it gets skipped. This caused E2E tests to fail when packages import JavaScript components from @backstage/ui. Add explicit BUI build step to Linux and Windows E2E workflows, matching the pattern already used in ci.yml and deploy_packages.yml. Signed-off-by: Johan Persson --- .github/workflows/verify_e2e-linux.yml | 2 ++ .github/workflows/verify_e2e-windows.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/verify_e2e-linux.yml b/.github/workflows/verify_e2e-linux.yml index 41ae7c06d0..1b98f8ec9a 100644 --- a/.github/workflows/verify_e2e-linux.yml +++ b/.github/workflows/verify_e2e-linux.yml @@ -66,6 +66,8 @@ jobs: - run: yarn tsc - run: yarn backstage-cli repo build + # BUI has a custom build script and needs to be built separately + - run: yarn --cwd packages/ui build - name: run E2E test run: | sudo sysctl fs.inotify.max_user_watches=524288 diff --git a/.github/workflows/verify_e2e-windows.yml b/.github/workflows/verify_e2e-windows.yml index 561963cc05..773d7d89f0 100644 --- a/.github/workflows/verify_e2e-windows.yml +++ b/.github/workflows/verify_e2e-windows.yml @@ -86,6 +86,8 @@ jobs: - run: yarn tsc - run: yarn backstage-cli repo build + # BUI has a custom build script and needs to be built separately + - run: yarn --cwd packages/ui build - name: run E2E test run: yarn e2e-test run env: