Skip to content

Commit

Permalink
Provide short instructions for Yarn Berry use (#801)
Browse files Browse the repository at this point in the history
Co-authored-by: Zach Bloomquist <github@chary.us>
  • Loading branch information
MikeMcC399 and flotwig committed Feb 28, 2023
1 parent 9674a20 commit 2449178
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1146,6 +1146,14 @@ Name | Description

This action installs local dependencies using lock files. If `yarn.lock` file is found, the install uses `yarn --frozen-lockfile` command. Otherwise it expects to find `package-lock.json` and install using `npm ci` command.

The above default `yarn` installation command can be replaced for [Yarn Berry](https://yarnpkg.com/) (Yarn 2 and later) using the `install-command` parameter, for example:

```yml
- uses: cypress-io/github-action@v5
with:
install-command: yarn install
```

This action uses several production dependencies. The minimum Node version required to run this action depends on the minimum Node required by the dependencies.

## Debugging
Expand Down

0 comments on commit 2449178

Please sign in to comment.