From 33a02b34e335b18d71c78ff48a0d5781077718b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Thu, 6 Sep 2018 19:52:17 +0100 Subject: [PATCH] fix(ci): tweak Greenkeeper stage config --- .travis.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.travis.yml b/.travis.yml index d5cc3196f..7cf380622 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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="" script: - make greenkeeper-lockfile