Skip to content

Commit

Permalink
Add CI job that verifies tests pass when using pnpm (vs. npm).
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAnson committed Dec 31, 2024
1 parent df33933 commit 795eac2
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:

jobs:
build:

runs-on: ${{ matrix.os }}

strategy:
Expand All @@ -30,3 +29,21 @@ jobs:
run: npm install --no-package-lock
- name: Run CI Tests
run: npm run ci

pnpm:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Use pnpm latest
uses: pnpm/action-setup@v4
with:
version: latest
- name: Use Node.js latest
uses: actions/setup-node@v4
with:
node-version: latest
- name: Install dependencies
run: pnpm install
- name: Run CI Tests
run: npm test

0 comments on commit 795eac2

Please sign in to comment.