Commit Graph

3 Commits

Author SHA1 Message Date
vass 0b4ed70366 Rename install-yarn to ensure-yarn for consistency
The old role will be kept and include ensure-yarn for backwards-compatability.

Change-Id: I7631c7e588bc953d6e3b22759abe66a73ffca728
2020-04-04 15:41:29 -04:00
Paul Belanger 05fa2786af Create yarn_lock_file_path variable for install-yarn
This removes the hardcoded path to yarn.lock and allows a user to define
it manually.

Change-Id: Ib29c7d442fd57e583674ba86bdc0d5edfac844c9
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-11-28 10:21:57 -05:00
Monty Taylor a08002fd44
Install yarn if needed in javascript jobs
Some javascript projects use yarn for dependencies instead of raw npm.
If a yarn.lock file is detected in the zuul_work_dir, install yarn and
use yarn to install dependencies.

Needed-By: I5864e1b2f9952fbc35b08ebdef348c4917564c37
Change-Id: I9ae7dd3b33b2b607c1c5a17632e2aeb12e339d15
2017-12-14 10:08:22 -06:00