Don't cache node_modules in CI

This commit is contained in:
Evan Hahn 2021-02-04 11:39:40 -06:00 committed by GitHub
parent d996c2f950
commit 34df011b06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 32 deletions

View File

@ -18,14 +18,6 @@ jobs:
node-version: '12.18.3'
- run: npm install -g yarn@1.22.0
- name: Cache node modules
uses: actions/cache@v1
env:
cache-name: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}-${{ hashFiles('patches/*') }}
- run: yarn install --frozen-lockfile
- run: yarn generate
- run: yarn lint
@ -46,14 +38,6 @@ jobs:
node-version: '12.18.3'
- run: npm install -g yarn@1.22.0
- name: Cache node modules
uses: actions/cache@v1
env:
cache-name: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}-${{ hashFiles('patches/*') }}
- run: yarn install --frozen-lockfile
- run: yarn generate
- run: yarn lint
@ -79,14 +63,6 @@ jobs:
- run: sudo apt-get install xvfb
- run: npm install -g yarn@1.22.0
- name: Cache node modules
uses: actions/cache@v1
env:
cache-name: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}-${{ hashFiles('patches/*') }}
- run: yarn install --frozen-lockfile
- run: yarn generate
- run: yarn lint
@ -115,14 +91,6 @@ jobs:
node-version: '12.18.3'
- run: npm install -g yarn@1.22.0
- name: Cache node modules
uses: actions/cache@v1
env:
cache-name: cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-node_modules-${{ hashFiles('yarn.lock') }}-${{ hashFiles('patches/*') }}
- run: yarn install --frozen-lockfile
- run: yarn generate
- run: yarn lint