Fix failing publish step (#14060)

One of the (private) packages was missing a version which caused `pnpm
publish` to fail. This PR adds the missing version.
This commit is contained in:
Robin Malfait
2024-07-25 17:31:52 +02:00
committed by GitHub
parent 7d6f25def5
commit c41a9d55c4
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -63,6 +63,7 @@ exec('pnpm --silent --filter=!./playgrounds/* -r exec pwd', async (err, stdout)
// Track all the workspaces
for (let path of paths) {
let pkg = await fs.readFile(path, 'utf8').then(JSON.parse)
if (pkg.private) continue
workspaces.set(pkg.name, { version: pkg.version ?? '', path })
}