[Improvements🛠️]:Update tools directory, CI workflow, and dependencies for better compatibility and performance #1790
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changed tools/semver-check.js
Node.js 10 was end-of-life on December 31, 2021.
so using
process.versions.node
to always use the current Node.js version.This change solves fix GitHub Actions test failures caused by specifying Node.js '10.12.0'. node-sqlite3 testing with Node.js 18, so '10.12.0' isn’t need.
Changed tools/BinaryBuilder.Dockerfile
Added
--maxsockets=1
tonpm install
as a temporary workaround.This fixes the error:
Client network socket disconnected before secure TLS connection was established
in bullseye CI test.Changed workflow CI
arm64
architecture formacos-latest
.setup-msbuild
from v1 to v2 for better Windows11 compatibility.setuptools
installation step becausenode-gyp
v10 supports Python 3.12 by default.upload-artifact
due to test failures with the latest version.Upgrade some dependencies
node-addon-api
to 8.0.0 or higher. (Update dependency node-addon-api to v8 #1767 )tar
to 7.0.0 or higher. (Update dependency tar to v7 #1777 )node-gyp
to 10 or higher. (Update dependency node-gyp to v10 #1724 )These updates improve compatibility, performance, and security of your project.