mirror of
https://github.com/streamwall/streamwall.git
synced 2025-12-08 02:35:36 -05:00
Use xvfb-maybe to build
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
cache: npm
|
cache: npm
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run start-local
|
- run: npm run start-local-ci
|
||||||
- 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 && 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