Skip to content
Snippets Groups Projects
Unverified Commit 442da2d8 authored by Rhys Arkins's avatar Rhys Arkins Committed by GitHub
Browse files

fix(yarn): set YARN_CACHE_FOLDER if not already (#8180)

Closes #8172
parent 326c0009
No related branches found
No related tags found
No related merge requests found
......@@ -81,6 +81,7 @@ export async function generateLockFiles(
extraEnv: {
NPM_CONFIG_CACHE: env.NPM_CONFIG_CACHE,
npm_config_store: env.npm_config_store,
YARN_CACHE_FOLDER: env.YARN_CACHE_FOLDER,
},
docker: {
image: 'renovate/node',
......
......@@ -64,6 +64,7 @@ export async function generateLockFile(
const extraEnv: ExecOptions['extraEnv'] = {
NPM_CONFIG_CACHE: env.NPM_CONFIG_CACHE,
npm_config_store: env.npm_config_store,
YARN_CACHE_FOLDER: env.YARN_CACHE_FOLDER,
CI: 'true',
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment