diff --git a/yarn-project/.yarnrc.yml b/yarn-project/.yarnrc.yml index 8aaa7608581e..a6b42f0c4ee0 100644 --- a/yarn-project/.yarnrc.yml +++ b/yarn-project/.yarnrc.yml @@ -10,4 +10,4 @@ nodeLinker: node-modules # Do not allow 'yarn install' on CI to format package.json files, # otherwise it will change their hash and bust the cache -immutablePatterns: ['**/package.json'] +immutablePatterns: ['package.json', '*/package.json'] diff --git a/yarn-project/bootstrap.sh b/yarn-project/bootstrap.sh index 3065370e0821..944c3b2a7da3 100755 --- a/yarn-project/bootstrap.sh +++ b/yarn-project/bootstrap.sh @@ -92,7 +92,7 @@ function build { # files to yarn immutablePatterns, so if they are also changed, this step will fail. denoise "retry yarn install --immutable" else - denoise "yarn install" + denoise "yarn install --no-immutable" fi denoise "compile_all" echo -e "${green}Yarn project successfully built!${reset}"