Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/commands/yarn_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,18 @@ parameters:
description: The path to the yarn cache folder. Defaults to /tmp/yarn
type: string
default: "/tmp/yarn"
berry:
description: use yarn 2+ version for installing dependencies
type: boolean
default: false

steps:
- when:
condition: <<parameters.berry>>
steps:
- run:
name: Set yarn version to berry
command: yarn set version berry
- when:
condition: <<parameters.cache>>
steps:
Expand Down