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 <johanopersson@gmail.com>
This commit is contained in:
Johan Persson
2026-01-30 13:56:24 +01:00
parent 0e9578d93e
commit 62318ac5c9
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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
+2
View File
@@ -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: