chore: update workflows/coverage.yml

This commit is contained in:
chenshenhai 2021-09-21 21:32:58 +08:00
parent 186403d3df
commit ed7a5b7fa6

View file

@ -25,8 +25,10 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm config set registry https://registry.nlark.com
- run: npm install
- run: npm config set registry https://registry.yarnpkg.com/
# - run: npm install
- run: npm install --global yarn
- run: yarn
- run: npm run beforetest
- run: npm run cover
- name: Upload coverage to Codecov