setup-yarn

Reduce boilerplate when installing setting up Node.js and installing Yarn dependencies.

ISC License

Stars
10
Committers
1

Setup Yarn Action

Reduce boilerplate when installing setting up Node.js and installing Yarn dependencies.

Usage

- uses: mskelton/setup-yarn@v3

Checkout a specific Git ref

- uses: mskelton/setup-yarn@v3
  with:
   ref: ${{ github.head_ref }}

Specify Node version

- uses: mskelton/setup-yarn@v3
  with:
   node-version: '16.x'

Pass additional flags to the install command

- uses: mskelton/setup-yarn@v3
  with:
   flags: --immutable-cache