From 6426dca4dbf3404c4aaa646b47e95ce8f5396d0c Mon Sep 17 00:00:00 2001 From: "Mr.Mao" <951416545@qq.com> Date: Sun, 7 May 2023 15:22:26 +0800 Subject: [PATCH] chore: fix .github ci error --- .github/workflows/ci.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9548a97..386a345 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,13 +25,13 @@ jobs: cache: pnpm - name: Setup - run: npm i -g @antfu/ni + run: npm i -g pnpm - name: Install - run: nci + run: pnpm install - name: Lint - run: nr lint + run: pnpm lint test: runs-on: ubuntu-latest @@ -54,16 +54,13 @@ jobs: cache: pnpm - name: Setup - run: npm i -g @antfu/ni + run: npm i -g pnpm - name: Install - run: nci + run: pnpm install - name: Build - run: nr build - - - name: Typecheck - run: nr typecheck + run: pnpm build - name: Test run: pnpm run test \ No newline at end of file