Skip to content

Commit

Permalink
testing macOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed Mar 6, 2025
1 parent 59272d8 commit a31b913
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
# os: [macos-13, macos-14, ubuntu-22.04, ubuntu-22.04-arm, windows-2022]
os: [macos-13, macos-15]
# node: [18, 20, 22, 23]
node: [16, 18, 20]
node: [16]
steps:

- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion lib/edge.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ else if(process.platform === 'darwin'){
if(!fs.existsSync(edgeNative)){
edgeNative = builtEdge;
if(!fs.existsSync(edgeNative)){
throw new Error(`Failed to build edge-js for `);
throw new Error(`Failed to build edge-js for `+ process.platform + '-' + process.arch + ' v' + process.versions.node);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion tools/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ else {
});
}
else{
spawn('node-gyp', [`configure --target=${process.version.node} --runtime=node --arch=${process.arch}`, 'build'], { stdio: 'inherit' });
spawn('node-gyp', [`configure --target=${process.versions.node} --runtime=node --arch=${process.arch}`], { stdio: 'inherit' });
}
}
else{
Expand Down

0 comments on commit a31b913

Please sign in to comment.