Skip to content

Commit

Permalink
Migrate to pnpm in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jihchi committed Jan 27, 2023
1 parent e3c232e commit 6963415
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,21 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
with:
version: 7.26.1

- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'

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

- name: Test
run: npm test --ci --coverage --maxWorkers=2
run: pnpm test -- --ci --coverage --maxWorkers=2

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

0 comments on commit 6963415

Please sign in to comment.