|
|
@ -57,13 +57,13 @@ jobs:
|
|
|
|
path: node_modules
|
|
|
|
path: node_modules
|
|
|
|
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
|
|
|
|
key: node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
|
|
|
|
|
|
|
|
|
|
|
|
- name: test
|
|
|
|
- name: Generate coverage report
|
|
|
|
run: npm test
|
|
|
|
run: npm test
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
COVERAGE: "true"
|
|
|
|
COVERAGE: "true"
|
|
|
|
|
|
|
|
|
|
|
|
- name: codecov
|
|
|
|
- name: Upload coverage to Codecov
|
|
|
|
run: npm run codecov
|
|
|
|
uses: codecov/codecov-action@v1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
|
|
|
|
|
|
|
|
|
|