zuul-jobs/roles/upload-npm/defaults/main.yaml
Monty Taylor 20f7528a09
Add upload-npm role
We need a role for uploading content to npm. The old script assumed a
global npm install - but as this runs on the executor we shouldn't
assume that. Use nvm to install node into the work_dir and use the npm
from that node installation.

Change-Id: I7f7c031ce754838776043325025fe5928cd36135
2017-10-09 15:41:20 -05:00

2 lines
80 B
YAML

npm_registry_url: "{{ npm_info.registry_url|default('//registry.npmjs.org') }}"