Merge pull request #99 from prymitive/travis-gk

fix(ci): tweak Greenkeeper stage config
This commit is contained in:
Łukasz Mierzwa
2018-09-06 21:00:26 +01:00
committed by GitHub

View File

@@ -26,6 +26,18 @@ jobs:
# do anything for other branches or PRs
if: branch =~ /^greenkeeper.*/
<<: *DEFAULTS_JS
# disable cache for Greenkeeper stage, having cache causes greenkeeper
# to scan the entire node_modules looking for package.json files
# it also doesn't need the cache for anything, it's an external command
# installed manually
cache:
directories: []
# change the name and the email in the commit modifying package-lock.json
# to match user commiting changes to package.json
# https://github.com/greenkeeperio/greenkeeper-lockfile/pull/101
env:
- GK_LOCK_COMMIT_NAME="greenkeeper[bot]"
- GK_LOCK_COMMIT_EMAIL="<greenkeeper[bot]@users.noreply.github.com>"
script:
- make greenkeeper-lockfile