a08002fd44
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
15 lines
328 B
YAML
15 lines
328 B
YAML
- name: Add yarnpkg repository key
|
|
apt_key:
|
|
url: https://dl.yarnpkg.com/debian/pubkey.gpg
|
|
become: yes
|
|
|
|
- name: Add yarnpkg apt source repository
|
|
apt_repository:
|
|
repo: "deb https://dl.yarnpkg.com/debian/ stable main"
|
|
state: present
|
|
update_cache: yes
|
|
become: yes
|
|
|
|
- name: Install yarn
|
|
include: yarn.yaml
|