From 34e5d60c3deccc2a9af37b90480f2c90f0c46a73 Mon Sep 17 00:00:00 2001
From: Antoine Gaudron-desjardins <antoine.gaudrondesjardins@student-cs.fr>
Date: Thu, 7 Jul 2022 10:30:52 +0200
Subject: [PATCH] include linting front in ci

---
 .gitlab-ci.yml | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e08fe88..972c8db 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -75,7 +75,7 @@ install:
 ####                                                                                                                               ####
 #######################################################################################################################################
 
-lint:
+lint-back:
   stage: test
   before_script:
     - source ./venv/bin/activate
@@ -84,6 +84,16 @@ lint:
     - pycodestyle --config=./backend/setup.cnf ./backend
 
 
+lint-front:
+  image: node:14.6.0
+  stage: test
+  before_script:
+    - cd frontend/
+    - npm install
+  script:
+    - npm run lint
+
+
 # test:
 #   stage: test
 #   variables:
-- 
GitLab