You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The action has a built-in functionality for caching and restoring npm/yarn dependencies. Supported package managers are `npm`, `yarn`. The `cache` input is optional, and caching is turned off by default.
44
+
The action has a built-in functionality for caching and restoring npm/yarn dependencies. Supported package managers are `npm`, `yarn`, `pnpm`. The `cache` input is optional, and caching is turned off by default.
45
45
46
46
**Caching npm dependencies:**
47
47
```yaml
@@ -66,7 +66,29 @@ steps:
66
66
- run: yarn install
67
67
- run: yarn test
68
68
```
69
-
Yarn caching handles both yarn versions: 1 or 2.
69
+
Yarn caching handles both yarn versions: 1 or 2.
70
+
71
+
**Caching pnpm (v6.10+) dependencies:**
72
+
```yaml
73
+
# This workflow uses actions that are not certified by GitHub.
74
+
# They are provided by a third-party and are governed by
75
+
# separate terms of service, privacy policy, and support
76
+
# documentation.
77
+
78
+
# NOTE: pnpm caching support requires pnpm version >= 6.10.0
0 commit comments