diff --git a/scripts/test-package-manager.mjs b/scripts/test-package-manager.mjs index ca2c87e0c0..a61f17b51b 100644 --- a/scripts/test-package-manager.mjs +++ b/scripts/test-package-manager.mjs @@ -317,7 +317,7 @@ async function main() { if (!reuseTars) { await deletePriorBuildArtifacts(); await deleteTars(); - await $`pnpm prepare`; + await $({ preferLocal: true, shell: true })`pnpm prepare`; await buildAll(tag); }