From ddda530a19e49a52266604fee0bafe8a61d6b2b1 Mon Sep 17 00:00:00 2001 From: VV Date: Mon, 15 Jul 2024 11:17:07 +0800 Subject: [PATCH] fix ci --- .github/workflows/node.js.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 67cb50b..06a3eb4 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -20,13 +20,13 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v2 + - uses: pnpm/action-setup@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - run: npm ci - - run: npm run build --if-present + - run: pnpm run build --if-present - run: npm test - run: npm run test:coverage - name: Codecov