diff --git a/lib/manager/npm/registry.js b/lib/manager/npm/registry.js index 38a7879d19a34779b48b961d411bcb5e0f8b0354..5f8bd8773a1f787a356af81b7d8f702231cf7439 100644 --- a/lib/manager/npm/registry.js +++ b/lib/manager/npm/registry.js @@ -67,7 +67,7 @@ async function getDependency(name) { // Retrieve from API if not cached try { const res = (await got(pkgUrl, { - cache: map, + cache: process.env.RENOVATE_SKIP_CACHE ? undefined : map, json: true, headers, })).body;