Skip to content

Commit

Permalink
update CI to use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
iwoplaza committed Jul 1, 2024
1 parent 895c92c commit a9e0a1e
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,24 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [16.x, 20.x]
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [16.x, 20.x, 22.x]

steps:
- name: Checkout Code Repository
uses: actions/checkout@v2

- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false

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

- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: pnpm i --frozen-lockfile
- run: pnpm test

0 comments on commit a9e0a1e

Please sign in to comment.