From dbca54429b3e9db62d197a98a8e186e3c5c4d839 Mon Sep 17 00:00:00 2001 From: William Petit Date: Mon, 9 Mar 2020 14:58:40 +0100 Subject: [PATCH] Ajout .gitlab-ci.yml --- .gitlab-ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..abd238f --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,25 @@ +image: node:lts + +cache: + paths: + - frontend/node_modules + +before_script: + - cd frontend && npm install + - cd - + +stages: + - lint + - test + +FrontendLint: + stage: lint + script: + - cd frontend && npm run lint + allow_failure: true + +FrontendTest: + stage: test + script: + - ls -lah + - cd frontend && npm test