GitLab CI: move `lint` jobs into `test` step
This commit is contained in:
parent
ff7753cb42
commit
1b970d662e
|
@ -12,7 +12,6 @@ cache:
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- install
|
- install
|
||||||
- lint
|
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
@ -26,7 +25,7 @@ install-dependencies:
|
||||||
- node_modules/
|
- node_modules/
|
||||||
|
|
||||||
lint-js:
|
lint-js:
|
||||||
stage: lint
|
stage: test
|
||||||
script: yarn lint:js
|
script: yarn lint:js
|
||||||
only:
|
only:
|
||||||
changes:
|
changes:
|
||||||
|
@ -38,7 +37,7 @@ lint-js:
|
||||||
- ".eslintrc.js"
|
- ".eslintrc.js"
|
||||||
|
|
||||||
lint-sass:
|
lint-sass:
|
||||||
stage: lint
|
stage: test
|
||||||
script: yarn lint:sass
|
script: yarn lint:sass
|
||||||
only:
|
only:
|
||||||
changes:
|
changes:
|
||||||
|
|
Loading…
Reference in New Issue