mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
run npm run test in travis
This commit is contained in:
+1
-2
@@ -7,8 +7,7 @@ install:
|
||||
- yarn
|
||||
|
||||
script:
|
||||
- npm run lint
|
||||
- npm run start
|
||||
- npm run test
|
||||
|
||||
cache:
|
||||
yarn: true
|
||||
|
||||
+2
-1
@@ -9,7 +9,8 @@
|
||||
"docs:dev": "vuepress dev docs",
|
||||
"docs:build": "vuepress build docs",
|
||||
"format": "eslint \"**/*.js\" --fix && prettier \"**/*.{js,json,md}\" --write",
|
||||
"lint": "eslint \"**/*.js\" && prettier-check \"**/*.{js,json,md}\""
|
||||
"lint": "eslint \"**/*.js\" && prettier-check \"**/*.{js,json,md}\"",
|
||||
"test": "npm run lint && timeout 5 node index.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user