Use new npm jobs in nodejs[468]-jobs templates

commit 202cce830e4e0d63684fefc74dfc8d6aaa9248c6 introduced
new npm jobs. npm jobs on ubuntu-xenial do not work now
as yarn does not work with nodejs <10, so I believe this change
has no negative impact. It is required to fix horizon jobs
in stable/rocky or older.

Change-Id: Ie51711e05e323aebaab67f766eb7189fb16fd322
This commit is contained in:
Akihiro Motoki 2020-05-14 17:45:21 +09:00
parent f7f8fbb032
commit 2238b2dc61

View File

@ -1649,21 +1649,21 @@
Run lint and test jobs using Node 4. Run lint and test jobs using Node 4.
check: check:
jobs: jobs:
- nodejs-npm-run-lint: - nodejs-run-lint:
vars: vars:
node_version: 4 node_version: 4
nodeset: ubuntu-xenial nodeset: ubuntu-xenial
- nodejs-npm-run-test: - nodejs-run-test-browser:
vars: vars:
node_version: 4 node_version: 4
nodeset: ubuntu-xenial nodeset: ubuntu-xenial
gate: gate:
jobs: jobs:
- nodejs-npm-run-lint: - nodejs-run-lint:
vars: vars:
node_version: 4 node_version: 4
nodeset: ubuntu-xenial nodeset: ubuntu-xenial
- nodejs-npm-run-test: - nodejs-run-test-browser:
vars: vars:
node_version: 4 node_version: 4
nodeset: ubuntu-xenial nodeset: ubuntu-xenial
@ -1674,18 +1674,18 @@
Run lint and test jobs using Node 6. Run lint and test jobs using Node 6.
check: check:
jobs: jobs:
- nodejs-npm-run-lint: - nodejs-run-lint:
vars: vars:
node_version: 6 node_version: 6
- nodejs-npm-run-test: - nodejs-run-test-browser:
vars: vars:
node_version: 6 node_version: 6
gate: gate:
jobs: jobs:
- nodejs-npm-run-lint: - nodejs-run-lint:
vars: vars:
node_version: 6 node_version: 6
- nodejs-npm-run-test: - nodejs-run-test-browser:
vars: vars:
node_version: 6 node_version: 6
@ -1695,18 +1695,18 @@
Run lint and test jobs using Node 8. Run lint and test jobs using Node 8.
check: check:
jobs: jobs:
- nodejs-npm-run-lint: - nodejs-run-lint:
vars: vars:
node_version: 8 node_version: 8
- nodejs-npm-run-test: - nodejs-run-test-browser:
vars: vars:
node_version: 8 node_version: 8
gate: gate:
jobs: jobs:
- nodejs-npm-run-lint: - nodejs-run-lint:
vars: vars:
node_version: 8 node_version: 8
- nodejs-npm-run-test: - nodejs-run-test-browser:
vars: vars:
node_version: 8 node_version: 8