mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 12:20:23 +00:00
fix: repair latest-main ci gate
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user