The rootDir approach caused cascading TypeScript compilation issues.
Instead, the CI now detects whether nest build outputs to dist/src/main.js
and moves it to dist/main.js automatically.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The NestJS build was outputting to dist/src/main.js instead of dist/main.js
due to TypeScript's automatic rootDir calculation. Explicit rootDir: "src"
ensures the output is always at dist/main.js.
Also remove the test-run debugging step from CI.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>