From 795eac22de27718b186c302a751e8b74065e82dc Mon Sep 17 00:00:00 2001 From: David Anson Date: Tue, 31 Dec 2024 03:27:16 +0000 Subject: [PATCH] Add CI job that verifies tests pass when using pnpm (vs. npm). --- .github/workflows/ci.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f88082fd..150af9b1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,6 @@ on: jobs: build: - runs-on: ${{ matrix.os }} strategy: @@ -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