docs: Fix cache step of React and Next example

This commit is contained in:
Shohei Ueda 2019-11-10 21:19:30 +09:00 committed by GitHub
parent b172208a72
commit 1468ca9775
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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