https://github.com/mskelton/setup-yarn
Reduce boilerplate when installing setting up Node.js and installing Yarn dependencies.
https://github.com/mskelton/setup-yarn
github-actions yarn
Last synced: 24 days ago
JSON representation
Reduce boilerplate when installing setting up Node.js and installing Yarn dependencies.
- Host: GitHub
- URL: https://github.com/mskelton/setup-yarn
- Owner: mskelton
- License: isc
- Created: 2021-07-17T15:57:41.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-19T17:22:41.000Z (10 months ago)
- Last Synced: 2025-06-15T21:46:56.131Z (29 days ago)
- Topics: github-actions, yarn
- Homepage:
- Size: 16.6 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Setup Yarn Action
Reduce boilerplate when installing setting up Node.js and installing Yarn dependencies.
## Usage
```yml
- uses: mskelton/setup-yarn@v3
```## Checkout a specific Git ref
```yml
- uses: mskelton/setup-yarn@v3
with:
ref: ${{ github.head_ref }}
```## Specify Node version
```yml
- uses: mskelton/setup-yarn@v3
with:
node-version: '16.x'
```## Pass additional flags to the install command
```yml
- uses: mskelton/setup-yarn@v3
with:
flags: --immutable-cache
```