Skip to content

Commit

Permalink
ci: using pnpm in ci build
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadGh committed Jul 11, 2024
1 parent be2756d commit 1a3ed6f
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/build-typecheck-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,20 @@ jobs:
with:
node-version: lts/*

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

- name: Install
run: nci
run: pnpm i --force

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

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

- name: Test
run: nr test
run: pnpm test

- name: Test with Coverage
run: nr coverage
run: pnpm coverage

- name: Upload Coverage Metric to Codecov
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit 1a3ed6f

Please sign in to comment.