Skip to content

Commit 8b8146f

Browse files
committed
fix: swiched GH workflow builds to node16 to fix windows
1 parent f58660e commit 8b8146f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build-mainnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
include:
1515
- arch: x64
1616
runner: ubuntu-latest
17-
targets: node18-linux-x64,node18-macos-x64,node18-win-x64
17+
targets: node16-linux-x64,node16-macos-x64,node16-win-x64
1818
- arch: arm64
1919
runner: ubuntu-24.04-arm
20-
targets: node18-linux-arm64,node18-macos-arm64,node18-win-arm64
20+
targets: node16-linux-arm64,node16-macos-arm64,node16-win-arm64
2121
steps:
2222
- name: Checkout code
2323
uses: actions/checkout@v4

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"lint:fix": "eslint --fix --ext .ts src",
1616
"lint": "eslint --ext .ts src",
1717
"test": "echo \"Error: no test specified\"",
18-
"mainnet:build:executable": "pkg out/src/main-mainnet.js -t node18 --output bin/edge",
18+
"mainnet:build:executable": "pkg out/src/main-mainnet.js -t node16 --output bin/edge",
1919
"mainnet:build:in-docker": "ROOT=${PWD} BUILD_TARGET=$(.build/auto_target.sh) NETWORK=mainnet .build/build.sh",
2020
"mainnet:build:src": "tsc",
2121
"mainnet:build": "npm run mainnet:build:src && npm run mainnet:build:executable",
22-
"testnet:build:executable": "pkg out/src/main-testnet.js -t node18 --output bin/edgetest",
22+
"testnet:build:executable": "pkg out/src/main-testnet.js -t node16 --output bin/edgetest",
2323
"testnet:build:in-docker": "ROOT=${PWD} BUILD_TARGET=$(.build/auto_target.sh) NETWORK=testnet .build/build.sh",
2424
"testnet:build:src": "tsc",
2525
"testnet:build": "npm run testnet:build:src && npm run testnet:build:executable"

0 commit comments

Comments
 (0)