From b8332dee9face41cb7cc842741095758862a538c Mon Sep 17 00:00:00 2001 From: curben Date: Sun, 28 Oct 2018 17:58:45 +1030 Subject: [PATCH] chore: add renovate bot https://renovatebot.com/ --- .gitlab-ci.yml | 1 + package.json | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 14623e9..0a6f675 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,7 @@ test: script: - npm install - npm run build + - npm run renovate only: - master # this job will affect only the 'master' branch diff --git a/package.json b/package.json index 0e63d22..ef88d87 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "version": "3.8.0" }, "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": { "hexo": "^3.8.0", @@ -21,6 +22,7 @@ "hexo-renderer-stylus": "^0.3.3", "hexo-server": "^0.3.3", "hexo-yam": "^1.0.3", + "renovate": "^13.110.1", "snyk": "^1.105.0" } }