Skip to content

Commit

Permalink
ci: setup pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Jun 3, 2024
1 parent 11b97ed commit 8f21d24
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,19 @@ jobs:
- uses: actions/checkout@v4

- name: Setup pnpm
run: corepack enable
uses: pnpm/action-setup@v4.0.0

- name: Set node
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: pnpm

- name: Setup
run: npm i -g @antfu/ni

- name: Install
run: nci
run: pnpm i

- name: Lint
run: nr lint
run: pnpm run lint

- name: Typecheck
run: nr typecheck
run: pnpm run typecheck

0 comments on commit 8f21d24

Please sign in to comment.