@@ -150,7 +150,16 @@ jobs:
150150
151151 - name : Install dependencies
152152 shell : pwsh
153- run : bun install --frozen-lockfile
153+ # Force the pre-1.3 "hoisted" linker on Windows. Bun 1.3.x's default
154+ # "isolated" linker creates nested workspace junctions that don't
155+ # materialize reliably on Windows GHA runners — manifests as
156+ # `Cannot find package 'esbuild'` walking up from
157+ # `packages/producer/build.mjs` and `EPERM stat` on
158+ # `packages/producer/node_modules/@fontsource/*` from generators.
159+ # See oven-sh/bun#23615, #18354, #10146. Linux CI keeps isolated;
160+ # the lockfile is linker-agnostic so this flag is safe with
161+ # --frozen-lockfile.
162+ run : bun install --frozen-lockfile --linker=hoisted
154163
155164 - name : Build all packages
156165 shell : pwsh
@@ -371,7 +380,16 @@ jobs:
371380
372381 - name : Install dependencies
373382 shell : pwsh
374- run : bun install --frozen-lockfile
383+ # Force the pre-1.3 "hoisted" linker on Windows. Bun 1.3.x's default
384+ # "isolated" linker creates nested workspace junctions that don't
385+ # materialize reliably on Windows GHA runners — manifests as
386+ # `Cannot find package 'esbuild'` walking up from
387+ # `packages/producer/build.mjs` and `EPERM stat` on
388+ # `packages/producer/node_modules/@fontsource/*` from generators.
389+ # See oven-sh/bun#23615, #18354, #10146. Linux CI keeps isolated;
390+ # the lockfile is linker-agnostic so this flag is safe with
391+ # --frozen-lockfile.
392+ run : bun install --frozen-lockfile --linker=hoisted
375393
376394 - name : Build
377395 shell : pwsh
0 commit comments