diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 1cf39b91..f259bd8d 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -100,6 +100,11 @@ jobs: name: frontend-artifact path: client/dist + - name: Set Chrome path + run: | + sudo ln -sf /usr/bin/google-chrome-stable /usr/bin/google-chrome + export CHROME_BIN=/usr/bin/google-chrome + - name: Run Tests for Resource Server run: mvn -B test --file resource_server/pom.xml - name: Run Tests for Authorization Server @@ -108,6 +113,7 @@ jobs: - name: Run Tests run: | cd client + export NODE_OPTIONS=--openssl-legacy-provider npm run test - name: Upload Test Results diff --git a/client/package.json b/client/package.json index b93c3653..65e5d070 100644 --- a/client/package.json +++ b/client/package.json @@ -5,7 +5,7 @@ "ng": "ng", "start": "ng serve", "build": "ng build --prod --aot --output-hashing=none", - "test": "ng test", + "test": "ng test --no-watch --code-coverage", "lint": "ng lint client --fix", "e2e": "ng e2e" },