chore(dev-deps): move snyk and renovate to ci scripts

This commit is contained in:
curben 2019-08-08 09:15:01 +09:30
parent bbb688aa23
commit 955b1d6517
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
3 changed files with 3 additions and 5 deletions

View File

@ -10,6 +10,7 @@ before_script:
test:
script:
- npm install snyk
- npm run snyk # Refer to "scripts" in package.json
- npm run hexo
@ -23,6 +24,7 @@ test:
renovate: # Check dependency update
script:
- npm install renovate
- npm run renovate
only:

View File

@ -1,3 +1,3 @@
[context.production]
publish = "public"
command = "npm run snyk && npm run hexo"
command = "npm install snyk && npm run snyk && npm run hexo"

View File

@ -19,9 +19,5 @@
"hexo-renderer-marked": "hexojs/hexo-renderer-marked",
"hexo-server": "hexojs/hexo-server",
"hexo-yam": "curbengh/hexo-yam"
},
"devDependencies": {
"renovate": "^19.0.0",
"snyk": "^1.136.1"
}
}