From ed7a5b7fa6cc64d7a626af07451b668330ffef9a Mon Sep 17 00:00:00 2001 From: chenshenhai Date: Tue, 21 Sep 2021 21:32:58 +0800 Subject: [PATCH] chore: update workflows/coverage.yml --- .github/workflows/coverage.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a746b5e..63decd9 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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