From 5ea83964351562e0fdbb80a256e2c8b7cb7ad799 Mon Sep 17 00:00:00 2001 From: "Mr.Mao" <951416545@qq.com> Date: Sun, 7 May 2023 15:02:50 +0800 Subject: [PATCH] chore: fix .github ci error --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f2873a..5754187 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,10 +20,10 @@ jobs: node-version: 16.x - name: Install - run: npm i + run: npm i pnpm -g && pnpm i - name: Lint - run: npm run lint + run: pnpm lint test: runs-on: ${{ matrix.os }} @@ -42,10 +42,10 @@ jobs: node-version: ${{ matrix.node }} - name: Install - run: npm i + run: npm i pnpm -g && pnpm i - name: Build - run: npm run build + run: pnpm build - name: Test - run: npm run test + run: pnpm test