node-sqlite3
node-sqlite3 copied to clipboard
[Improvements🛠️]:Update tools directory, CI workflow, and dependencies for better compatibility and performance
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
- Fixed network connectivity issue during tests on bullseye with Node.js 18.
Added
--maxsockets=1tonpm installas a temporary workaround. This fixes the error:Client network socket disconnected before secure TLS connection was establishedin bullseye CI test.- I would like to propose updating our test environment from bullseye to Bookworm. This change aims to leverage the latest software versions, security patches, and performance improvements offered by Bookworm.
Changed workflow CI
- Improved Apple Silicon compatibility by specifying
arm64architecture formacos-latest.- Is macos-m1 test working in self-host-runner? If this change has problem, I undo macos-latest in arm64.
- Updated
setup-msbuildfrom v1 to v2 for better Windows11 compatibility. - Removed
setuptoolsinstallation step becausenode-gypv10 supports Python 3.12 by default. - Keep current version of
upload-artifactdue to test failures with the latest version.
Upgrade some dependencies
- Updated
node-addon-apito 8.0.0 or higher. (#1767 ) - Updated
tarto 7.0.0 or higher. (#1777 ) - Updated
node-gypto 10 or higher. (#1724 )
These updates improve compatibility, performance, and security of your project.