Add nodejs-npm jobs
Add native nodejs jobs for lint and test. Needed-By: Ib38294ab48ef158a248637de79970ef60bc44f7f Change-Id: I45294049d9228020b70f6b18265e21fa9385f782
This commit is contained in:
parent
d6d835e414
commit
5e4797bda7
4
playbooks/javascript/run-lint.yaml
Normal file
4
playbooks/javascript/run-lint.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- role: npm
|
||||
npm_command: lint
|
4
playbooks/javascript/run-test.yaml
Normal file
4
playbooks/javascript/run-test.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- role: npm
|
||||
npm_command: test
|
29
zuul.yaml
29
zuul.yaml
@ -206,3 +206,32 @@
|
||||
Path to operate in.
|
||||
|
||||
run: playbooks/javascript/tarball.yaml
|
||||
|
||||
- job:
|
||||
name: nodejs-npm-run-test
|
||||
parent: javascript-base
|
||||
description: |
|
||||
Run test using nodejs.
|
||||
|
||||
Responds to this variable:
|
||||
|
||||
.. zuul:jobvar:: node_version
|
||||
:default: 6
|
||||
|
||||
The version of Node to use.
|
||||
|
||||
run: playbooks/javascript/run-test.yaml
|
||||
|
||||
- job:
|
||||
name: nodejs-npm-run-lint
|
||||
parent: javascript-base
|
||||
description: |
|
||||
Run lint using nodejs.
|
||||
|
||||
Responds to this variable:
|
||||
|
||||
.. zuul:jobvar:: node_version
|
||||
:default: 6
|
||||
|
||||
The version of Node to use.
|
||||
run: playbooks/javascript/run-lint.yaml
|
||||
|
Loading…
Reference in New Issue
Block a user