From bf389a79b7fd2768d89f5afc723c09e7a1b6c034 Mon Sep 17 00:00:00 2001 From: winniehell Date: Fri, 22 Jul 2016 23:40:12 +0200 Subject: [PATCH] add JavaScript linting to CI (!5445) --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 474bf6765f4..027d5d0e3cc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -310,6 +310,15 @@ coverage: - coverage/index.html - coverage/assets/ +lint-javascript: + stage: test + image: "node:latest" + before_script: + - npm install + script: + - npm run eslint + allow_failure: true # don't break build until old linting errors have been fixed + # Trigger docs build trigger_docs: stage: post-test