An open API service indexing awesome lists of open source software.

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

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)