diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cd5fc0a..fc27451 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,4 +18,4 @@ jobs: - uses: actions/checkout@v2 - run: npm install - - run: npm run test + - run: npm run test:headless:singleRun \ No newline at end of file diff --git a/package.json b/package.json index 2845232..646e386 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,8 @@ "start": "node node_modules/@angular/cli/bin/ng serve", "build": "node node_modules/@angular/cli/bin/ng build --configuration production", "test": "node node_modules/@angular/cli/bin/ng test lib", + "test:headless": "node node_modules/@angular/cli/bin/ng test --browsers=ChromeHeadless", + "test:headless:singleRun": "node node_modules/@angular/cli/bin/ng test --no-watch --no-progress --browsers=ChromeHeadless lib", "release:minor": "cd ./projects/lib/ && npm version minor", "release:major": "cd ./projects/lib/ && npm version major", "release:patch": "cd ./projects/lib/ && npm version patch",