mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
chore: 更新 codecov-action 配置
This commit is contained in:
parent
2f4474aeb2
commit
715e3ec311
8
.github/workflows/gh-pages.yml
vendored
8
.github/workflows/gh-pages.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
- uses: n1hility/cancel-previous-runs@v2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@master
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
@ -43,9 +43,9 @@ jobs:
|
||||
NODE_OPTIONS: '--max-old-space-size=8192'
|
||||
run: |
|
||||
npm run coverage
|
||||
- uses: codecov/codecov-action@v2
|
||||
- uses: codecov/codecov-action@v3
|
||||
with:
|
||||
files: ./coverage/clover.xml
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
name: codecov-umbrella # optional
|
||||
fail_ci_if_error: false
|
||||
fail_ci_if_error: false # optional (default = false)
|
||||
verbose: true # optional (default = false)
|
||||
|
Loading…
Reference in New Issue
Block a user