diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index a79ebbe..9d8fe93 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -25,7 +25,11 @@ 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 install cnpm -g --registry=https://registry.nlark.com + # - run: cnpm 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 test