build: update to yarn v4 (#48993)

This commit is contained in:
John Kleinschmidt
2025-11-17 19:04:51 -05:00
committed by GitHub
parent ef8fad7d8e
commit fe32528c50
43 changed files with 18383 additions and 11315 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) {