add JavaScript linting to CI (!5445)
This commit is contained in:
parent
e5a0d41db0
commit
bf389a79b7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue