fix(ci): keep Docker patch smoke on pnpm workspace config

This commit is contained in:
Altay
2026-05-08 16:32:11 +03:00
committed by Peter Steinberger
parent b8b948e208
commit c501d4b923

View File

@@ -207,6 +207,9 @@ describe("Dockerfile", () => {
expect(dockerfile).not.toContain("pnpm_config_frozen_lockfile=false");
expect(dockerfile).toContain(finalWorkspaceCopy);
expect(dockerfile.indexOf(pruneProd)).toBeLessThan(dockerfile.indexOf(finalWorkspaceCopy));
expect(dockerfile).toContain(
"COPY --from=runtime-assets --chown=node:node /app/pnpm-workspace.yaml .",
);
expect(dockerfile).toContain(
"COPY --from=runtime-assets --chown=node:node /app/patches ./patches",
);