Skip to content

Commit 6b25d7f

Browse files
committed
Fix CI: add Phase 3 bun install to recreate per-package node_modules symlinks
The embedded workspace variant (installWorkspaceDeps) was missing the re-install step after copying source files with withDirectory. This overwrote per-package node_modules/ symlinks, preventing TypeScript from resolving astro/tsconfigs/strictest in the frontend tsconfig, which caused 376 ESLint type-resolution errors in CI. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f4a62bf commit 6b25d7f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.dagger/src/scout-for-lol-helpers.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,11 @@ export function installWorkspaceDeps(
8383
.withExec(["bun", "install", "--frozen-lockfile"]);
8484

8585
// PHASE 2: Config files and source code
86-
return addSourceFiles(container, workspaceSource);
86+
container = addSourceFiles(container, workspaceSource);
87+
88+
// PHASE 3: Re-run bun install to recreate per-package node_modules symlinks
89+
// that were overwritten by withDirectory in addSourceFiles
90+
return container.withExec(["bun", "install", "--frozen-lockfile"]);
8791
}
8892

8993
/**

0 commit comments

Comments
 (0)