Skip to content

Commit

Permalink
test: Switch continuous integration to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
gwhitney committed Dec 1, 2022
1 parent e56c93d commit ab226d0
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Install dependencies
run: npm install
- name: Install pnpm and dependencies
uses: pnpm/action-setup@v2
with:
version: latest
run_install: true
- name: Lint
run: npm run lint:check
run: pnpm lint:check
test:
runs-on: ubuntu-22.04
steps:
Expand All @@ -29,7 +32,10 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Install dependencies
run: npm install
- name: Install pnpm and dependencies
uses: pnpm/action-setup@v2
with:
version: latest
run_install: true
- name: Test
run: npm run test:unit
run: pnpm test:unit

0 comments on commit ab226d0

Please sign in to comment.