Skip to content

Commit e2e00bc

Browse files
committed
test(release): refresh the pinned smoke lockfile
Keep the copied lockfile during the smoke refresh, matching the release workflow and retaining version-specific dependency patches.
1 parent b0614c2 commit e2e00bc

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎scripts/release-smoke.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,15 +233,13 @@ try {
233233
},
234234
);
235235

236-
NodeFS.rmSync(NodePath.resolve(tempRoot, "pnpm-lock.yaml"), { force: true });
237-
238236
NodeChildProcess.execFileSync("vp", ["install", "--lockfile-only", "--ignore-scripts"], {
239237
cwd: tempRoot,
240238
stdio: "inherit",
241239
});
242240

243241
const lockfile = NodeFS.readFileSync(NodePath.resolve(tempRoot, "pnpm-lock.yaml"), "utf8");
244-
assertContains(lockfile, "lockfileVersion:", "Expected pnpm-lock.yaml to be regenerated.");
242+
assertContains(lockfile, "lockfileVersion:", "Expected pnpm-lock.yaml to be refreshed.");
245243

246244
for (const relativePath of [
247245
"apps/server/package.json",

0 commit comments

Comments
 (0)