From a7f2fda5c2035f136c33670a0f4d498db9568f3b Mon Sep 17 00:00:00 2001 From: Nils Haberkamp Date: Tue, 6 Feb 2024 09:41:38 +0100 Subject: [PATCH] NEXT-33446 - disable node_modules caching in certian jobs --- .github/workflows/tests.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5748783b9..af4d01c08 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -54,15 +54,15 @@ jobs: with: node-version: '20' - - name: Retrieve the cached "node_modules" directory (if present) - uses: actions/cache@v3 - id: node-cache - with: - path: node_modules - key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }} + # - name: Retrieve the cached "node_modules" directory (if present) + # uses: actions/cache@v3 + # id: node-cache + # with: + # path: node_modules + # key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }} - name: Install dependencies (if the cached directory was not found) - if: steps.node-cache.outputs.cache-hit != 'true' + # if: steps.node-cache.outputs.cache-hit != 'true' run: npm ci - name: unit @@ -79,15 +79,15 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 - - name: Retrieve the cached "node_modules" directory (if present) - uses: actions/cache@v3 - id: node-cache - with: - path: node_modules - key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }} + # - name: Retrieve the cached "node_modules" directory (if present) + # uses: actions/cache@v3 + # id: node-cache + # with: + # path: node_modules + # key: node-modules-${{ runner.os }}-${{ hashFiles('package-lock.json') }} - name: Install dependencies (if the cached directory was not found) - if: steps.node-cache.outputs.cache-hit != 'true' + # if: steps.node-cache.outputs.cache-hit != 'true' run: npm ci - name: Install Playwright