feature: Add ZUUL JOBs

1. Add `skyline-nodejs14-run-lint-xx` jobs to execute code static
analysis
2. Add `skyline-nodejs14-run-unit-test` jobs to execute unit test

Change-Id: Ic3453c40c54882e72b804d23f6941cb94e83975f
This commit is contained in:
shaleijie 2021-08-25 15:57:43 +08:00
parent d422bd59aa
commit 2305aacb93
2 changed files with 38 additions and 2 deletions

1
.gitignore vendored
View File

@ -4,6 +4,7 @@
yarn-error.log
package-lock.json
.vscode
.idea
test/e2e/videos
test/e2e/screenshots
test/e2e/downloads

View File

@ -1,3 +1,38 @@
- job:
name: skyline-nodejs14-run-lint-src
parent: nodejs-run-lint
description: |
Run lint using Node 14 for skyline-console src directory.
vars:
node_version: 14
js_build_command: lint
- job:
name: skyline-nodejs14-run-lint-test
parent: nodejs-run-lint
description: |
Run lint using Node 14 for skyline-console test directory.
vars:
node_version: 14
js_build_command: lint:test
- job:
name: skyline-nodejs14-run-unit-test
parent: nodejs-run-test
description: |
Run unit test using Node 14 for skyline-console.
vars:
node_version: 14
js_build_command: test:unit
- project:
templates:
- noop-jobs
check:
jobs:
- skyline-nodejs14-run-lint-src
- skyline-nodejs14-run-lint-test
- skyline-nodejs14-run-unit-test
gate:
jobs:
- skyline-nodejs14-run-lint-src
- skyline-nodejs14-run-lint-test
- skyline-nodejs14-run-unit-test