ci(release): bound cross-os baseline packing · openclaw/openclaw@592277c
steipete
·
2026-05-29
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -451,7 +451,7 @@ jobs:
|
451 | 451 | OUTPUT_DIR: ${{ runner.temp }}/openclaw-cross-os-release-checks/prepare/baseline |
452 | 452 | run: | |
453 | 453 | mkdir -p "${OUTPUT_DIR}" |
454 | | - npm pack --ignore-scripts --json "${BASELINE_SPEC}" --pack-destination "${OUTPUT_DIR}" > "${OUTPUT_DIR}/pack.json" |
| 454 | + timeout --preserve-status 300s npm pack --ignore-scripts --json "${BASELINE_SPEC}" --pack-destination "${OUTPUT_DIR}" > "${OUTPUT_DIR}/pack.json" |
455 | 455 | |
456 | 456 | - name: Capture candidate metadata |
457 | 457 | id: candidate_metadata |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -15,6 +15,12 @@ describe("cross-OS release checks workflow", () => {
|
15 | 15 | expect(workflow).not.toContain('pnpm dlx "tsx@${TSX_VERSION}"'); |
16 | 16 | }); |
17 | 17 | |
| 18 | +it("bounds npm baseline packing during prepare", () => { |
| 19 | +const workflow = readFileSync(WORKFLOW_PATH, "utf8"); |
| 20 | + |
| 21 | +expect(workflow).toContain("timeout --preserve-status 300s npm pack --ignore-scripts"); |
| 22 | +}); |
| 23 | + |
18 | 24 | it("uses Windows-safe npm resolution for the TypeScript loader bootstrap", () => { |
19 | 25 | const wrapper = readFileSync(WRAPPER_PATH, "utf8"); |
20 | 26 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。