From e20b6f47d763daf9698b8ae4fd9004df650cd34e Mon Sep 17 00:00:00 2001 From: Dmitry Romanov Date: Wed, 8 May 2024 11:47:13 -0400 Subject: [PATCH] [ci] Fix headless tests --- .github/workflows/frontend.yaml | 2 +- firebird-ng/package.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/frontend.yaml b/.github/workflows/frontend.yaml index 821bdb2..ff125c9 100644 --- a/.github/workflows/frontend.yaml +++ b/.github/workflows/frontend.yaml @@ -22,7 +22,7 @@ jobs: run: npm install - name: Run Tests working-directory: ./firebird-ng - run: ng test --watch=false --browsers=ChromeHeadlessCI + run: npm run test-headless build: needs: test diff --git a/firebird-ng/package.json b/firebird-ng/package.json index 37bfc08..19b9c8c 100644 --- a/firebird-ng/package.json +++ b/firebird-ng/package.json @@ -6,7 +6,8 @@ "start": "ng serve", "build": "ng build", "watch": "ng build --watch --configuration development", - "test": "ng test" + "test": "ng test", + "test-headless": "ng test --watch=false --browsers=ChromeHeadlessCI" }, "private": true, "dependencies": {