fix: repair latest-main ci gate

This commit is contained in:
Peter Steinberger
2026-03-27 17:56:50 +00:00
parent 47ae562cc9
commit 1086acf3c2
27 changed files with 610 additions and 253 deletions

View File

@@ -12,13 +12,11 @@ const bundledCoverageEntrySources = buildPluginSdkEntrySources(bundledRepresenta
describe("plugin-sdk bundled exports", () => {
it("emits importable bundled subpath entries", { timeout: 120_000 }, async () => {
const bundleTempRoot = path.join(
process.cwd(),
"node_modules",
".cache",
"openclaw-plugin-sdk-build",
const bundleCacheRoot = path.join(process.cwd(), "node_modules", ".cache");
await fs.mkdir(bundleCacheRoot, { recursive: true });
const bundleTempRoot = await fs.mkdtemp(
path.join(bundleCacheRoot, "openclaw-plugin-sdk-build-"),
);
await fs.mkdir(bundleTempRoot, { recursive: true });
const outDir = path.join(bundleTempRoot, "bundle");
await fs.rm(outDir, { recursive: true, force: true });
await fs.mkdir(outDir, { recursive: true });