Setup coverage for FE

This commit is contained in:
Pavel Pustovalov
2020-09-06 14:15:56 -05:00
committed by Umputun
parent 1cb724a264
commit c02590665f
6 changed files with 112 additions and 3 deletions
+6 -1
View File
@@ -71,5 +71,10 @@ jobs:
- run: npm ci --loglevel warn
working-directory: ./frontend
- run: npm run test
- run: npm run test:coverage
working-directory: ./frontend
- name: submit coverage
run: node ${{ github.workspace }}/frontend/node_modules/.bin/codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}