Add pnpm example

This commit is contained in:
Evgenij (Eugene) Beloded 2021-05-12 11:52:46 +07:00 committed by GitHub
parent 3a696372f2
commit 6af11308f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -240,6 +240,17 @@ The yarn cache directory will depend on your operating system and version of `ya
```
## Node - Pnpm
```yaml
- name: Cache .pnpm-store
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}```
```
## Node - Yarn 2
The yarn 2 cache directory will depend on your config. See https://yarnpkg.com/configuration/yarnrc#cacheFolder for more info.