zuul-jobs/roles/ensure-yarn
Mohammed Naser 6920617af5 ensure-yarn: run ensure-nodejs before
YARN needs a modern version of NodeJS and if we don't use the role
to get the latest version, we end up failing on most platforms that
ship an old version of it.

This patch also adds testing to validate that ensure-yarn alone works.

Co-Authored-By: Andreas Jaeger <aj@suse.com>
Change-Id: I83ac09bc5751c85c6f1eac550d289a300ca2255e
2020-05-01 17:07:48 +02:00
..
tasks ensure-yarn: run ensure-nodejs before 2020-05-01 17:07:48 +02:00
vars ensure-yarn: refactor to use ensure-package-repositories 2020-05-01 15:49:30 +02:00
README.rst ensure-yarn: run ensure-nodejs before 2020-05-01 17:07:48 +02:00

Install yarn from yarnpkg repos.

This role use the role :zuulensure-nodejs to ensure that NodeJS is installed. See the documentation for :zuulensure-nodejs and specify the version of NodeJS to install.