Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 27 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 (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-19T17:22:41.000Z (about 2 months ago)
- Last Synced: 2024-10-07T14:52:23.292Z (about 1 month ago)
- Topics: github-actions, yarn
- Homepage:
- Size: 16.6 KB
- Stars: 10
- Watchers: 3
- Forks: 0
- 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
```