chore: add renovate bot

https://renovatebot.com/
This commit is contained in:
curben 2018-10-28 17:58:45 +10:30
parent 879db0d5d3
commit b8332dee9f
2 changed files with 4 additions and 1 deletions

View File

@ -8,6 +8,7 @@ test:
script: script:
- npm install - npm install
- npm run build - npm run build
- npm run renovate
only: only:
- master # this job will affect only the 'master' branch - master # this job will affect only the 'master' branch

View File

@ -6,7 +6,8 @@
"version": "3.8.0" "version": "3.8.0"
}, },
"scripts": { "scripts": {
"build": "snyk auth $SNYK_TOKEN && snyk protect && snyk test && hexo generate" "build": "snyk auth $SNYK_TOKEN && snyk protect && snyk test && hexo generate",
"renovate": "renovate --token $BOT_TOKEN --platform 'gitlab' --onboarding false --update-lock-files false --labels 'renovate' --recreate-closed true curben/blog"
}, },
"dependencies": { "dependencies": {
"hexo": "^3.8.0", "hexo": "^3.8.0",
@ -21,6 +22,7 @@
"hexo-renderer-stylus": "^0.3.3", "hexo-renderer-stylus": "^0.3.3",
"hexo-server": "^0.3.3", "hexo-server": "^0.3.3",
"hexo-yam": "^1.0.3", "hexo-yam": "^1.0.3",
"renovate": "^13.110.1",
"snyk": "^1.105.0" "snyk": "^1.105.0"
} }
} }