mirror of
https://github.com/streamwall/streamwall.git
synced 2025-12-08 02:35:36 -05:00
Try waiting for the server
This commit is contained in:
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -22,7 +22,9 @@ jobs:
|
|||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
cache: npm
|
cache: npm
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run build
|
- run: npm run start-local-ci&
|
||||||
|
# Sleep for 60 seconds to allow the server to start
|
||||||
|
- run: sleep 60
|
||||||
- run: npm run test-ci -- --silent=false
|
- run: npm run test-ci -- --silent=false
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
"build": "webpack",
|
"build": "webpack",
|
||||||
"start": "npm run build -- --stats=errors-only && electron dist",
|
"start": "npm run build -- --stats=errors-only && electron dist",
|
||||||
"start-local": "npm run build -- --stats=errors-only && electron dist --control.address=http://localhost:4444 --control.username=streamwall --control.password=local-dev",
|
"start-local": "npm run build -- --stats=errors-only && electron dist --control.address=http://localhost:4444 --control.username=streamwall --control.password=local-dev",
|
||||||
|
"start-local-ci": "xvfb-maybe npm run build -- --stats=errors-only && xvfb-maybe electron dist --control.address=http://localhost:4444 --control.username=streamwall --control.password=local-dev",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test-ci": "xvfb-maybe jest"
|
"test-ci": "xvfb-maybe jest"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user