ci(release): bound cross-os baseline packing

This commit is contained in:
Peter Steinberger
2026-05-29 01:13:10 +01:00
parent fc8b57e0cf
commit 592277cd77
2 changed files with 7 additions and 1 deletions

View File

@@ -15,6 +15,12 @@ describe("cross-OS release checks workflow", () => {
expect(workflow).not.toContain('pnpm dlx "tsx@${TSX_VERSION}"');
});
it("bounds npm baseline packing during prepare", () => {
const workflow = readFileSync(WORKFLOW_PATH, "utf8");
expect(workflow).toContain("timeout --preserve-status 300s npm pack --ignore-scripts");
});
it("uses Windows-safe npm resolution for the TypeScript loader bootstrap", () => {
const wrapper = readFileSync(WRAPPER_PATH, "utf8");