Skip to content

Commit 05ec93b

Browse files
fix(test_downstream_projects): Do not 'yarn upgrade' downstream projects
1 parent 78f3984 commit 05ec93b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test_downstream_projects.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function installWorkspaceDependencies(downstreamInstallDirs) {
104104

105105
fs.writeFileSync(yarnWorkspacePackageJsonPath, JSON.stringify(yarnWorkspacePackageJson, null, 2));
106106
process.chdir(DOWNSTREAM_CACHE);
107-
util._exec('yarn && yarn upgrade');
107+
util._exec('yarn');
108108
}
109109

110110
function runDownstreamTests(key, upstreamPackages, downstreamTreeNode, successLog) {
@@ -122,7 +122,7 @@ function runDownstreamTests(key, upstreamPackages, downstreamTreeNode, successLo
122122

123123
if (!yargs.argv.workspace) {
124124
console.log(` ===> '${name}': Installing dependencies <===`);
125-
util._exec('yarn && yarn upgrade');
125+
util._exec('yarn');
126126
}
127127

128128
console.log(` ===> '${name}': Installing freshly built upstream packages <===`);

0 commit comments

Comments
 (0)