ci: run package patch guard in pr checks · openclaw/openclaw@b8dccbf
steipete
·
2026-05-14
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +import { readFileSync } from "node:fs"; |
| 2 | +import { describe, expect, it } from "vitest"; |
| 3 | + |
| 4 | +describe("ci workflow guards", () => { |
| 5 | +it("runs the package patch guard in PR CI preflight", () => { |
| 6 | +const workflow = readFileSync(".github/workflows/ci.yml", "utf8"); |
| 7 | +const preflightGuards = workflow.slice( |
| 8 | +workflow.indexOf("preflight-guards)"), |
| 9 | +workflow.indexOf("prod-types)"), |
| 10 | +); |
| 11 | + |
| 12 | +expect(preflightGuards).toContain("pnpm deps:patches:check"); |
| 13 | +}); |
| 14 | +}); |
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。