mirror of
https://github.com/actions/cache.git
synced 2024-11-15 18:23:51 +08:00
simplify path in lerna example
This commit is contained in:
parent
12ed05f49a
commit
4762de4681
@ -215,9 +215,7 @@ If using `npm config` to retrieve the cache directory, ensure you run [actions/s
|
|||||||
- name: restore lerna
|
- name: restore lerna
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: **/*/node_modules
|
||||||
node_modules
|
|
||||||
**/*/node_modules
|
|
||||||
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user