fix config.

This commit is contained in:
Jason Kulatunga 2022-10-14 09:19:51 -07:00
parent c15e86d77f
commit 16a95657f1
2 changed files with 5 additions and 2 deletions

View File

@ -12,10 +12,13 @@ jobs:
test-frontend: test-frontend:
name: Test Frontend name: Test Frontend
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: node:18.9.0
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Test Frontend - name: Test Frontend
run: | run: |
make frontend-test-coverage make frontend-test-coverage

View File

@ -50,4 +50,4 @@ frontend-test-coverage: frontend-dep
.PHONY: frontend-test-coverage-ci .PHONY: frontend-test-coverage-ci
# reduce logging, disable angular-cli analytics for ci environment # reduce logging, disable angular-cli analytics for ci environment
frontend-test-coverage-ci: frontend-dep frontend-test-coverage-ci: frontend-dep
cd frontend && npx ng test --watch=false --code-coverage --browsers=ChromeHeadless cd frontend && npx ng test --watch=false --code-coverage --browsers=ChromeHeadlessCI