Update build.yml to install ws and run tests

Adjust build process to include npm installation and test execution.
This commit is contained in:
uNetworkingAB
2025-10-24 12:26:09 +02:00
committed by GitHub
parent 56ac2f5797
commit cd9108737c

View File

@@ -24,8 +24,10 @@ jobs:
git clone --recursive https://github.com/uNetworking/uWebSockets.js.git
cd uWebSockets.js
${{ matrix.os == 'windows-latest' && 'nmake' || 'make' }}
cd dist
npm install ws
node tests/smoke.js
cd ..
git fetch origin binaries:binaries
git checkout binaries
cp dist/*.node .