mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-03 16:44:05 +00:00
ci(release): bound cross-os baseline packing
This commit is contained in:
@@ -451,7 +451,7 @@ jobs:
|
||||
OUTPUT_DIR: ${{ runner.temp }}/openclaw-cross-os-release-checks/prepare/baseline
|
||||
run: |
|
||||
mkdir -p "${OUTPUT_DIR}"
|
||||
npm pack --ignore-scripts --json "${BASELINE_SPEC}" --pack-destination "${OUTPUT_DIR}" > "${OUTPUT_DIR}/pack.json"
|
||||
timeout --preserve-status 300s npm pack --ignore-scripts --json "${BASELINE_SPEC}" --pack-destination "${OUTPUT_DIR}" > "${OUTPUT_DIR}/pack.json"
|
||||
|
||||
- name: Capture candidate metadata
|
||||
id: candidate_metadata
|
||||
|
||||
@@ -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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user