diff --git a/src/commands/yarn_install.yml b/src/commands/yarn_install.yml index 39ec8fb..1d1eb58 100644 --- a/src/commands/yarn_install.yml +++ b/src/commands/yarn_install.yml @@ -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: <> + steps: + - run: + name: Set yarn version to berry + command: yarn set version berry - when: condition: <> steps: