mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Try to fix the build
This commit is contained in:
parent
9c149f3bb3
commit
a013141118
2 changed files with 4 additions and 8 deletions
2
.github/workflows/create-artifact.yml
vendored
2
.github/workflows/create-artifact.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
10
build.js
10
build.js
|
|
@ -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}`],
|
||||
{
|
||||
stdio: "inherit",
|
||||
}
|
||||
);
|
||||
const pkg = spawn("pkg", ["./build/package.json", `--target=${target}`], {
|
||||
stdio: "inherit",
|
||||
});
|
||||
|
||||
pkg.on("close", (code) => {
|
||||
if (code !== 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue