mirror of
https://github.com/nioc/xmpp-bot.git
synced 2024-11-12 21:06:50 +01:00
Add lint script to CI
This commit is contained in:
parent
0fd85a9715
commit
34fc742abb
2 changed files with 5 additions and 0 deletions
|
@ -8,3 +8,7 @@ node_js:
|
|||
|
||||
before_script:
|
||||
- cp test/config.json config.json
|
||||
|
||||
script:
|
||||
- npm run lint
|
||||
- npm test
|
||||
|
|
|
@ -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>",
|
||||
|
|
Loading…
Reference in a new issue