https://github.com/araxeus/setup-yarn-pnp-action
GitHub Action to setup Yarn PnP
https://github.com/araxeus/setup-yarn-pnp-action
Last synced: 16 days ago
JSON representation
GitHub Action to setup Yarn PnP
- Host: GitHub
- URL: https://github.com/araxeus/setup-yarn-pnp-action
- Owner: Araxeus
- License: mit
- Created: 2023-02-20T20:38:52.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-18T12:32:44.000Z (11 months ago)
- Last Synced: 2025-04-04T12:16:37.843Z (22 days ago)
- Language: Batchfile
- Size: 13.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Yarn PnP setup action
## Behavior
- runs [actions/checkout](https://github.com/actions/checkout)
- runs [actions/setup-node](https://github.com/actions/setup-node)
- install yarn@stable using `corepack enable && corepack prepare yarn@stable --activate`
- cache the yarn cache using [actions/cache](https://github.com/actions/cache), with support for yarn PnP using `yarn config get cacheFolder`
- run `yarn install --immutable` to install the dependencies
## Inputs
- node-version: the node version to use (default to the system one)