From 1468ca9775baf4bd4b4fa64d95c3769b3259cad5 Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Sun, 10 Nov 2019 21:19:30 +0900 Subject: [PATCH] docs: Fix cache step of React and Next example --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 85e7044..5795504 100644 --- a/README.md +++ b/README.md @@ -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