zuul-jobs/roles/npm
Tristan Cacqueray 645e591256 npm: add CI=true environment
The jest test framework needs this variable to exit after test execution.

Change-Id: I40916716da04b7e86038d05385afc7e24bce6afa
2018-08-15 08:38:08 +00:00
..
defaults Add base job and roles for javascript 2017-10-09 08:32:45 -05:00
tasks npm: add CI=true environment 2018-08-15 08:38:08 +00:00
vars Add base job and roles for javascript 2017-10-09 08:32:45 -05:00
README.rst Add base job and roles for javascript 2017-10-09 08:32:45 -05:00

Run npm command in a source directory. Assumes the appropriate version of npm has been installed.

Role Variables

Command to run. If it's a standard npm lifecycle command, it will be run as npm {{ npm_command }}. Otherwise it will be run as npm run {{ npm_command }}.