Skip to content

Commit 795eac2

Browse files
committed
Add CI job that verifies tests pass when using pnpm (vs. npm).
1 parent df33933 commit 795eac2

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ${{ matrix.os }}
1615

1716
strategy:
@@ -30,3 +29,21 @@ jobs:
3029
run: npm install --no-package-lock
3130
- name: Run CI Tests
3231
run: npm run ci
32+
33+
pnpm:
34+
runs-on: ubuntu-latest
35+
36+
steps:
37+
- uses: actions/checkout@v4
38+
- name: Use pnpm latest
39+
uses: pnpm/action-setup@v4
40+
with:
41+
version: latest
42+
- name: Use Node.js latest
43+
uses: actions/setup-node@v4
44+
with:
45+
node-version: latest
46+
- name: Install dependencies
47+
run: pnpm install
48+
- name: Run CI Tests
49+
run: npm test

0 commit comments

Comments
 (0)