diff options
author | winniehell <git@winniehell.de> | 2016-07-22 23:40:12 +0200 |
---|---|---|
committer | winniehell <git@winniehell.de> | 2016-10-26 10:00:55 +0200 |
commit | bf389a79b7fd2768d89f5afc723c09e7a1b6c034 (patch) | |
tree | 1d69e1d74de5b09d264991869bf04d2c4137e6c3 | |
parent | e5a0d41db0c2871cc9b229aab40de19bdabe1d9e (diff) | |
download | gitlab-ce-bf389a79b7fd2768d89f5afc723c09e7a1b6c034.tar.gz |
add JavaScript linting to CI (!5445)
-rw-r--r-- | .gitlab-ci.yml | 9 |
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 |