fix(opencode): disable config bun cache in CI (#14985)

This commit is contained in:
Luke Parker
2026-02-25 11:38:23 +10:00
committed by GitHub
parent e718263778
commit da40ab7b3d
2 changed files with 2 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ export namespace BunProc {
"--force",
"--exact",
// TODO: get rid of this case (see: https://github.com/oven-sh/bun/issues/19936)
...(proxied() ? ["--no-cache"] : []),
...(proxied() || process.env.CI ? ["--no-cache"] : []),
"--cwd",
Global.Path.cache,
pkg + "@" + version,

View File

@@ -289,7 +289,7 @@ export namespace Config {
[
"install",
// TODO: get rid of this case (see: https://github.com/oven-sh/bun/issues/19936)
...(proxied() ? ["--no-cache"] : []),
...(proxied() || process.env.CI ? ["--no-cache"] : []),
],
{ cwd: dir },
).catch((err) => {