From ebb42c28ce19d439f386411976c3151a3be9623f Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Tue, 6 Feb 2024 10:41:03 +0100 Subject: [PATCH] NEXT-33446 - use pnpm instead of pnpm in CI pipeline --- .github/workflows/tests.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b4f80b9c7..35396d42a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -54,6 +54,10 @@ jobs: with: node-version: '20' + - uses: pnpm/action-setup@v2 + with: + version: 8 + # - name: Retrieve the cached "node_modules" directory (if present) # uses: actions/cache@v3 # id: node-cache @@ -63,7 +67,7 @@ jobs: - name: Install dependencies (if the cached directory was not found) # if: steps.node-cache.outputs.cache-hit != 'true' - run: npm ci + run: pnpm install - name: unit run: npm run test:unit @@ -79,6 +83,10 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 + - uses: pnpm/action-setup@v2 + with: + version: 8 + # - name: Retrieve the cached "node_modules" directory (if present) # uses: actions/cache@v3 # id: node-cache @@ -88,7 +96,7 @@ jobs: - name: Install dependencies (if the cached directory was not found) # if: steps.node-cache.outputs.cache-hit != 'true' - run: npm ci + run: pnpm install - name: Install Playwright run: npx playwright install