diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f7048c5..62c9c1e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ jobs: node-version: 18.x cache: npm - run: npm install - - run: npm run start-local + - run: npm run start-local-ci - run: npm run test-ci -- --silent=false env: CI: true diff --git a/package.json b/package.json index cd5f577..e8ef0e6 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "build": "webpack", "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-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-ci": "xvfb-maybe jest" },