Move smoke testing up

Removed redundant npm install and smoke test execution.
This commit is contained in:
uNetworkingAB
2025-10-24 12:22:03 +02:00
committed by GitHub
parent f9a5228f68
commit 56ac2f5797

View File

@@ -24,6 +24,8 @@ jobs:
git clone --recursive https://github.com/uNetworking/uWebSockets.js.git
cd uWebSockets.js
${{ matrix.os == 'windows-latest' && 'nmake' || 'make' }}
npm install ws
node tests/smoke.js
git fetch origin binaries:binaries
git checkout binaries
cp dist/*.node .
@@ -35,6 +37,3 @@ jobs:
git config --global user.name "Alex Hultman"
git commit -a -m "[GitHub Actions] Updated ${{ matrix.os }} binaries" || true
git push "https://unetworkingab:${{ secrets.SECRET }}@github.com/uNetworking/uWebSockets.js" binaries
git checkout master -- tests/smoke.js
npm install ws
node tests/smoke.js