Skip to content

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

License

Notifications You must be signed in to change notification settings

mskelton/setup-yarn

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Setup Yarn Action

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

Usage

- uses: mskelton/setup-yarn@v1

Checkout a specific Git ref

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

Specify Node version

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

Pass additional flags to the install command

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

About

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

Topics

Resources

License

Stars

Watchers

Forks