Commit bf389a79 authored by winniehell's avatar winniehell

add JavaScript linting to CI (!5445)

parent e5a0d41d
...@@ -310,6 +310,15 @@ coverage: ...@@ -310,6 +310,15 @@ coverage:
- coverage/index.html - coverage/index.html
- coverage/assets/ - 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 build
trigger_docs: trigger_docs:
stage: post-test stage: post-test
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment