Add linter.
This commit is contained in:
parent
08297ea83e
commit
d954909134
1 changed files with 7 additions and 0 deletions
|
@ -28,10 +28,17 @@ before_script:
|
||||||
# - node_modules/
|
# - node_modules/
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
|
- lint
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
|
lint:
|
||||||
|
stage: lint
|
||||||
|
script:
|
||||||
|
- yarn
|
||||||
|
- npm run lint
|
||||||
|
|
||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue