Try to fix the build

This commit is contained in:
Sander Declerck 2025-11-28 10:55:29 +01:00
parent 9c149f3bb3
commit a013141118
No known key found for this signature in database
2 changed files with 4 additions and 8 deletions

View file

@ -53,7 +53,7 @@ jobs:
- name: Setup safe-chain
run: |
npm i -g @aikidosec/safe-chain
npm i -g @aikidosec/safe-chain pkg
safe-chain setup-ci
- name: Install dependencies

View file

@ -71,13 +71,9 @@ async function copyAndModifyPackageJson() {
function buildSafeChainBinary(target) {
return new Promise((resolve, reject) => {
const pkg = spawn(
"npx",
["pkg", "./build/package.json", `--target=${target}`],
{
const pkg = spawn("pkg", ["./build/package.json", `--target=${target}`], {
stdio: "inherit",
}
);
});
pkg.on("close", (code) => {
if (code !== 0) {