andrews-mcmeel-universal/Cache Yarn Install
Run yarn install with node_modules linker and cache enabled
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Jun 24, 2025
- License
- None
Pinned Snippet
uses: andrews-mcmeel-universal/cache-yarn-install@5f0d18f4a548dae2391bf254c9716367b58f25ef # v1.0.5tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| cwd | Changes node's process.cwd() if the project is not located on the root. Default to process.cwd() | no | . |
| cache-prefix | Add a specific cache-prefix | no | default |
| cache-npm-cache | Cache npm global cache folder often used by node-gyp, prebuild binaries (invalidated on lock/os/node-version) | no | true |
| cache-node-modules | Cache node_modules, might speed up link step (invalidated lock/os/node-version/branch) | no | false |
| cache-install-state | Cache yarn install state, might speed up resolution step when node-modules cache is activated (invalidated lock/os/node-version/branch) | no | false |
| enable-corepack | Enable corepack | no | true |
Outputs
no outputs