From 02cba4a99efed20437c018b030140cfb999af11d Mon Sep 17 00:00:00 2001 From: chenshenhai Date: Tue, 21 Sep 2021 18:51:53 +0800 Subject: [PATCH] chore: update workflows/coverage.yml --- .github/workflows/coverage.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index aae1ec8..1a5a588 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -25,7 +25,8 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - run: npm install + - run: npm install cnpm -g --registry=https://registry.nlark.com + - run: cnpm install - run: npm run beforetest - run: npm run cover - name: Upload coverage to Codecov