|
|
|
@ -12,6 +12,7 @@
|
|
|
|
|
- [Windows](#windows)
|
|
|
|
|
- [Using multiple systems and `npm config`](#using-multiple-systems-and-npm-config)
|
|
|
|
|
- [Node - Yarn](#node---yarn)
|
|
|
|
|
- [Node - Lerna](#node---lerna)
|
|
|
|
|
- [OCaml/Reason - esy](#ocamlreason---esy)
|
|
|
|
|
- [PHP - Composer](#php---composer)
|
|
|
|
|
- [Python - pip](#python---pip)
|
|
|
|
@ -180,6 +181,18 @@ The yarn cache directory will depend on your operating system and version of `ya
|
|
|
|
|
${{ runner.os }}-yarn-
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Node - Lerna
|
|
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
|
- name: restore lerna
|
|
|
|
|
uses: actions/cache@v3
|
|
|
|
|
with:
|
|
|
|
|
path: |
|
|
|
|
|
node_modules
|
|
|
|
|
*/*/node_modules
|
|
|
|
|
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## OCaml/Reason - esy
|
|
|
|
|
Esy allows you to export built dependencies and import pre-built dependencies.
|
|
|
|
|
```yaml
|
|
|
|
|