Skip to content

Commit

Permalink
chore: fix .github ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr.Mao committed May 7, 2023
1 parent 2464a6c commit 6426dca
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 6426dca

Please sign in to comment.