fix: port safe ci cleanup from backlog

This commit is contained in:
Affaan Mustafa
2026-04-01 16:09:54 -07:00
parent 9a6080f2e1
commit 8f63697113
11 changed files with 28 additions and 16 deletions

View File

@@ -24,7 +24,7 @@ async function runTests() {
let store
try {
store = await import(pathToFileURL(storePath).href)
} catch (err) {
} catch (_err) {
console.log('\n[warn] Skipping: build .opencode first (cd .opencode && npm run build)\n')
process.exit(0)
}

View File

@@ -26,6 +26,7 @@ function runHook(mode, payload, homeDir) {
env: {
...process.env,
HOME: homeDir,
USERPROFILE: homeDir,
},
});
}

View File

@@ -29,7 +29,7 @@ function runInstall(options = {}) {
},
encoding: 'utf8',
stdio: ['pipe', 'pipe', 'pipe'],
timeout: 20000,
timeout: 60000,
});
}
@@ -43,7 +43,7 @@ function runUninstall(options = {}) {
encoding: 'utf8',
input: options.input || 'y\n',
stdio: ['pipe', 'pipe', 'pipe'],
timeout: 20000,
timeout: 60000,
});
}