test: harden qa private runtime staging

This commit is contained in:
Peter Steinberger
2026-04-22 08:09:13 +01:00
parent eb67964239
commit d8892ee227
4 changed files with 44 additions and 7 deletions

View File

@@ -718,7 +718,7 @@ const withRunNodeBuildLock = async (deps, callback) => {
const syncRuntimeArtifacts = async (deps) => {
try {
await deps.runRuntimePostBuild({ cwd: deps.cwd });
await deps.runRuntimePostBuild({ cwd: deps.cwd, env: deps.env });
} catch (error) {
logRunner(
`Failed to write runtime build artifacts: ${error?.message ?? "unknown error"}`,