docs: Fix cache step of React and Next example
This commit is contained in:
parent
b172208a72
commit
1468ca9775
|
@ -495,10 +495,10 @@ jobs:
|
|||
- name: Cache dependencies
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
path: ~/.cache/yarn
|
||||
key: ${{ runner.os }}-yarn-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
${{ runner.os }}-yarn-
|
||||
|
||||
- name: install
|
||||
run: yarn install
|
||||
|
|
Loading…
Reference in New Issue