build: 继续尝试自动 coverage

This commit is contained in:
吴多益 2022-03-17 19:31:29 +08:00 committed by GitHub
parent c44f4524af
commit 305c22e91c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,13 +28,13 @@ jobs:
- name: Generate coverage report
run: |
npm i --legacy-peer-deps
# npm run coverage
# - uses: codecov/codecov-action@v2
# with:
# files: ./coverage/clover.xml
# name: codecov-umbrella # optional
# fail_ci_if_error: false
# verbose: true # optional (default = false)
npm run coverage
- uses: codecov/codecov-action@v2
with:
files: ./coverage/clover.xml
name: codecov-umbrella # optional
fail_ci_if_error: false
verbose: true # optional (default = false)
- name: build gh-pages
run: |
sh deploy-gh-pages.sh