Add lint script to CI

This commit is contained in:
nioc 2019-10-14 09:30:43 +02:00
parent 0fd85a9715
commit 34fc742abb
2 changed files with 5 additions and 0 deletions

View file

@ -8,3 +8,7 @@ node_js:
before_script:
- cp test/config.json config.json
script:
- npm run lint
- npm test

View file

@ -6,6 +6,7 @@
"scripts": {
"dev": "nodemon server.js",
"start": "NODE_ENV=production node server.js",
"lint": "eslint .",
"test": "mocha"
},
"author": "nioc <dev@nioc.eu>",