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
12 lines
239 B
YAML
12 lines
239 B
YAML
- name: Install yarn from yarnpkg.com
|
|
package:
|
|
name: yarn
|
|
state: latest
|
|
become: yes
|
|
tags:
|
|
# Ignore ANSIBLE0010: We really want latest version
|
|
- skip_ansible_lint
|
|
|
|
- name: Output yarn version
|
|
command: yarn --version
|