mirror of
https://github.com/uNetworking/uWebSockets.js.git
synced 2025-12-19 18:10:26 -05:00
Move smoke testing up
Removed redundant npm install and smoke test execution.
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user