mirror of
https://github.com/redwoodjs/local-ci.git
synced 2026-09-19 07:54:29 +08:00
02741dcf0a
The previous approach symlinked workspace/node_modules → /tmp/node_modules, which broke esbuild path resolution in pnpm monorepos. Tools like rwsdk's directive scanner resolved paths through the symlink incorrectly, producing paths like apps/web/tmp/node_modules/.pnpm/... instead of /tmp/node_modules/.pnpm/... Mount the warm cache as a Docker bind mount directly at the workspace node_modules path. This makes the filesystem layout identical to production GitHub Actions. The original EBUSY concern is already mitigated by the git shim (blocks git clean) and checkout patching (clean: false). Adds a smoke test exercising esbuild resolution through pnpm workspace symlinks to prevent regression. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>