From 12ed05f49acce78438c4958a91b8c5c56b0526bd Mon Sep 17 00:00:00 2001 From: Yuichi Yogo Date: Sat, 17 Apr 2021 12:34:17 +0900 Subject: [PATCH 1/3] Fix typo of cache path in Lerna example --- examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples.md b/examples.md index 0947e70..7d3f8ab 100644 --- a/examples.md +++ b/examples.md @@ -217,7 +217,7 @@ If using `npm config` to retrieve the cache directory, ensure you run [actions/s with: path: | node_modules - */*/node_modules + **/*/node_modules key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} ``` From 4762de46815bca1bc871f33000a101373130147a Mon Sep 17 00:00:00 2001 From: Yuichi Yogo Date: Wed, 21 Apr 2021 02:47:03 +0900 Subject: [PATCH 2/3] simplify path in lerna example --- examples.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples.md b/examples.md index 7d3f8ab..66198ba 100644 --- a/examples.md +++ b/examples.md @@ -215,9 +215,7 @@ If using `npm config` to retrieve the cache directory, ensure you run [actions/s - name: restore lerna uses: actions/cache@v2 with: - path: | - node_modules - **/*/node_modules + path: **/*/node_modules key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} ``` From 7772fcab795af43a7aae4337ddcd440eafaba19e Mon Sep 17 00:00:00 2001 From: Yuichi Yogo Date: Wed, 23 Feb 2022 12:39:46 +0900 Subject: [PATCH 3/3] remove unnecessary sub directory from search path --- examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples.md b/examples.md index 66198ba..b46a285 100644 --- a/examples.md +++ b/examples.md @@ -215,7 +215,7 @@ If using `npm config` to retrieve the cache directory, ensure you run [actions/s - name: restore lerna uses: actions/cache@v2 with: - path: **/*/node_modules + path: **/node_modules key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} ```