Skip to content

Commit

Permalink
use pnpm in action
Browse files Browse the repository at this point in the history
  • Loading branch information
xfsnowind committed Dec 7, 2023
1 parent 42287f2 commit b1176e3
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,20 @@ jobs:
with:
node-version: 'lts/*'

- name: Install pnpm
run: npm install -g pnpm

- name: Install dependencies
run: npm ci
run: pnpm install

- name: Lint
run: pnpm lint

- name: Typecheck
run: pnpm check-ts

- name: Build
run: npm run build
run: pnpm run build

- name: Test
run: npm test
run: pnpm run test

0 comments on commit b1176e3

Please sign in to comment.