zuul-jobs/roles/yarn
Monty Taylor 98aa9f9bb0
Add a yarn role
Projects using yarn for dependencies can just run yarn commands instead
of npm commands. Add a yarn role that allows a project to do that.

Change-Id: I48a722ca55c88c6330114da3a2c035b1f84f92e1
2018-07-27 09:34:22 -04:00
..
defaults Add a yarn role 2018-07-27 09:34:22 -04:00
tasks Add a yarn role 2018-07-27 09:34:22 -04:00
vars Add a yarn role 2018-07-27 09:34:22 -04:00
README.rst Add a yarn role 2018-07-27 09:34:22 -04:00

Run yarn command in a source directory. Assumes the appropriate version of yarn has been installed.

Role Variables

Command to run. If it's a standard lifecycle command, it will be run as yarn {{ yarn_command }}. Otherwise it will be run as yarn run {{ yarn_command }}.