Commit 4acba3d0 authored by Florent Chehab's avatar Florent Chehab
Browse files

Update CI to lint js too

parent 8647ed5c
Pipeline #34770 passed with stages
in 2 minutes and 50 seconds
stages: stages:
- test - test
- syntaxe - linting
- doc - doc
- deploy - deploy
...@@ -27,7 +27,7 @@ testing: ...@@ -27,7 +27,7 @@ testing:
- docker - docker
flake8: flake8:
stage: syntaxe stage: linting
image: python:3.6.5-jessie image: python:3.6.5-jessie
script: script:
- pip install flake8 - pip install flake8
...@@ -35,6 +35,14 @@ flake8: ...@@ -35,6 +35,14 @@ flake8:
tags: tags:
- docker - docker
eslint:
stage: linting
image: pipelinecomponents/eslint:latest
script:
- cd frontend && npm run lint
tags:
- docker
pages: pages:
stage: doc stage: doc
image: floawfloaw/plantuml image: floawfloaw/plantuml
...@@ -50,7 +58,7 @@ pages: ...@@ -50,7 +58,7 @@ pages:
paths: paths:
- public - public
expire_in: 1 month expire_in: 1 month
only: only:
- master - master
tags: tags:
- docker - docker
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment