diff --git a/examples.md b/examples.md
index 7aa713a..dbb705d 100644
--- a/examples.md
+++ b/examples.md
@@ -275,9 +275,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') }}
 ```