Don't cache node_modules in CI
This commit is contained in:
parent
d996c2f950
commit
34df011b06
1 changed files with 0 additions and 32 deletions
32
.github/workflows/ci.yml
vendored
32
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue