summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorwinniehell <git@winniehell.de>2016-07-22 23:40:12 +0200
committerwinniehell <git@winniehell.de>2016-10-26 10:00:55 +0200
commitbf389a79b7fd2768d89f5afc723c09e7a1b6c034 (patch)
tree1d69e1d74de5b09d264991869bf04d2c4137e6c3 /.gitlab-ci.yml
parente5a0d41db0c2871cc9b229aab40de19bdabe1d9e (diff)
downloadgitlab-ce-bf389a79b7fd2768d89f5afc723c09e7a1b6c034.tar.gz
add JavaScript linting to CI (!5445)
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml9
1 files changed, 9 insertions, 0 deletions
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