chore: try to fix yarn caching on gh actions

This commit is contained in:
Satyajit Sahoo
2020-05-27 20:12:33 +02:00
parent 0c3c450f5f
commit 9305bfa939
2 changed files with 4 additions and 8 deletions

View File

@@ -27,10 +27,8 @@ jobs:
id: yarn-cache
uses: actions/cache@master
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('**/yarn.lock') }}
path: '**/node_modules'
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'

View File

@@ -29,10 +29,8 @@ jobs:
id: yarn-cache
uses: actions/cache@master
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-yarn-v1-${{ hashFiles('**/yarn.lock') }}
path: '**/node_modules'
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'