chore: update workflows/coverage.yml

This commit is contained in:
chenshenhai 2021-09-21 21:03:28 +08:00
parent d8636fbeef
commit f64bd150a6

View file

@ -25,8 +25,8 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install cnpm -g --registry=https://registry.nlark.com
- run: cnpm install
- run: npm --registry=https://registry.nlark.com
- run: npm install
- run: npm run beforetest
- run: npm run cover
- name: Upload coverage to Codecov