add JavaScript linting to CI (!5445)
This commit is contained in:
parent
e5a0d41db0
commit
bf389a79b7
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue