From c60a36c4dfa2c1e33185527350a03dbb70177925 Mon Sep 17 00:00:00 2001 From: Rohit Ghumare Date: Fri, 31 Jul 2026 13:04:33 +0100 Subject: [PATCH] fix(release): install bundle worker deps outside the root UI workspace With the root UI pnpm workspace in place, pnpm install inside a bundle worker directory walks up and scopes to the root workspace (Scope: all 13 workspace projects), so the worker's own dependencies are never installed and build:bundle fails with ERR_MODULE_NOT_FOUND. Bundle workers are deliberately self-contained with their own lockfiles per the pnpm-workspace.yaml note, so pass --ignore-workspace to pnpm install. --- .github/workflows/_bundle.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/_bundle.yml b/.github/workflows/_bundle.yml index 3e816d13e..d8ac42439 100644 --- a/.github/workflows/_bundle.yml +++ b/.github/workflows/_bundle.yml @@ -92,10 +92,14 @@ jobs: cache: 'pnpm' cache-dependency-path: ${{ inputs.worker }}/pnpm-lock.yaml + # Bundle workers are self-contained projects with their own lockfiles + # (see the note in the repo-root pnpm-workspace.yaml). Without + # --ignore-workspace, pnpm walks up to the root UI workspace and never + # installs the worker's own deps. - name: pnpm install if: inputs.language == 'node' || inputs.language == 'javascript' working-directory: ${{ inputs.worker }} - run: pnpm install --frozen-lockfile + run: pnpm install --frozen-lockfile --ignore-workspace - name: pnpm run build:bundle if: inputs.language == 'node' || inputs.language == 'javascript'