From 1fc8c0257907e29c7c9b481abf81089a81263f8b Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Fri, 11 Jun 2021 13:34:17 -0400 Subject: [PATCH] Remove node_modules cache `npm ci` deletes node_modules as a first step, so makes no sense to cache --- .github/workflows/build.yml | 42 ------------------------------------- 1 file changed, 42 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1261bea47d6..7ff05c582b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,13 +34,6 @@ jobs: with: node-version: '14' - - name: Cache Node Modules - id: node-modules-cache - uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6 - with: - path: '**/node_modules' - key: ${{ runner.os }}-${{ github.run_id }}-node-${{ hashFiles('**/package-lock.json') }} - - name: Cache npm id: npm-cache uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6 @@ -138,13 +131,6 @@ jobs: with: node-version: '14' - - name: Cache Node Modules - id: node-modules-cache - uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6 - with: - path: '**/node_modules' - key: ${{ runner.os }}-${{ github.run_id }}-node-${{ hashFiles('**/package-lock.json') }} - - name: Cache npm id: npm-cache uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6 @@ -290,13 +276,6 @@ jobs: with: node-version: '14' - - name: Cache Node Modules - id: node-modules-cache - uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6 - with: - path: '**/node_modules' - key: ${{ runner.os }}-${{ github.run_id }}-node-${{ hashFiles('**/package-lock.json') }} - - name: Cache npm id: npm-cache uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6 @@ -400,13 +379,6 @@ jobs: with: node-version: '14' - - name: Cache Node Modules - id: node-modules-cache - uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6 - with: - path: '**/node_modules' - key: ${{ runner.os }}-${{ github.run_id }}-node-${{ hashFiles('**/package-lock.json') }} - - name: Cache npm id: npm-cache uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6 @@ -537,13 +509,6 @@ jobs: with: node-version: '14' - - name: Cache Node Modules - id: node-modules-cache - uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6 - with: - path: '**/node_modules' - key: ${{ runner.os }}-${{ github.run_id }}-node-${{ hashFiles('**/package-lock.json') }} - - name: Cache npm id: npm-cache uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6 @@ -669,13 +634,6 @@ jobs: with: node-version: '14' - - name: Cache Node Modules - id: node-modules-cache - uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6 - with: - path: '**/node_modules' - key: ${{ runner.os }}-${{ github.run_id }}-node-${{ hashFiles('**/package-lock.json') }} - - name: Cache npm id: npm-cache uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353 # v2.1.6