fix config.
This commit is contained in:
parent
c15e86d77f
commit
16a95657f1
|
@ -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
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue