mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 15:30:47 +00:00
ci: isolate non-root install smoke cache
This commit is contained in:
@@ -95,6 +95,12 @@ describe("install-sh smoke runner", () => {
|
||||
expect(script).toContain('"${NPM_CACHE_DOCKER_ARGS[@]}"');
|
||||
expect(script).toContain("remove_owned_npm_cache");
|
||||
expect(script).toContain('sudo -n rm -rf "$NPM_CACHE_DIR"');
|
||||
expect(script).not.toMatch(
|
||||
/Run installer non-root test:[\s\S]*"\$\{NPM_CACHE_DOCKER_ARGS\[@\]\}"/,
|
||||
);
|
||||
expect(script).not.toMatch(
|
||||
/Run CLI installer non-root test[\s\S]*"\$\{NPM_CACHE_DOCKER_ARGS\[@\]\}"/,
|
||||
);
|
||||
expect(script).toContain("==> Run direct npm global smoke");
|
||||
expect(script).toContain("OPENCLAW_INSTALL_SMOKE_MODE=npm-global");
|
||||
expect(runner).toContain("run_npm_global_smoke");
|
||||
|
||||
Reference in New Issue
Block a user