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