From 6a5eef1d6d1d2c713ab711ac6ec52297efbeb808 Mon Sep 17 00:00:00 2001 From: Ben Menesini Date: Wed, 8 May 2024 02:34:17 +0000 Subject: [PATCH] Only build & test in CI, don't try to run it bc it won't terminate --- .github/workflows/test.yml | 2 +- package.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 62c9c1e..da9cba9 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-ci + - run: npm run build - run: npm run test-ci -- --silent=false env: CI: true diff --git a/package.json b/package.json index f0c577d..cd5f577 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "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 && xvfb-maybe electron dist --control.address=http://localhost:4444 --control.username=streamwall --control.password=local-dev", "test": "jest", "test-ci": "xvfb-maybe jest" },