build: update to yarn v4 (#48243)

This commit is contained in:
Samuel Attard
2025-11-17 12:18:14 -08:00
committed by GitHub
parent 3809093511
commit 537fd7b10b
43 changed files with 18480 additions and 11360 deletions

View File

@@ -211,6 +211,7 @@ new Promise<string>((resolve, reject) => {
});
})
.then((tarballPath) => {
// TODO: Remove NPX
const existingVersionJSON = childProcess.execSync(`npx npm@7 view ${rootPackageJson.name}@${currentElectronVersion} --json`).toString('utf-8');
// It's possible this is a re-run and we already have published the package, if not we just publish like normal
if (!existingVersionJSON) {