From ba04df89438f9ae6db660cddc8172c1076799b0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 13 Mar 2023 14:53:00 +0100 Subject: [PATCH] Do not cache node_modules/ --- .github/workflows/lint.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b693ea875..198f00d17 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -21,23 +21,13 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Cache node_modules - id: cache-node-modules - uses: actions/cache@v3 - env: - cache-name: cache-node-modules - with: - path: node_modules - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - - name: Setup node v16 and npm cache uses: actions/setup-node@v3 with: node-version: 16 - cache: 'npm' + cache: npm - name: Install Node dependencies - if: steps.cache-node-modules.outputs.cache-hit != 'true' run: npm ci --no-optional - name: Get updated JS files