workflow: use pnpm publish during release

This commit is contained in:
Evan You 2023-05-08 16:51:50 +08:00
parent 847658b7a2
commit a11599449e
1 changed files with 1 additions and 3 deletions

View File

@ -347,9 +347,7 @@ async function publishPackage(pkgName, version) {
step(`Publishing ${pkgName}...`)
try {
await run(
// note: use of yarn is intentional here as we rely on its publishing
// behavior.
'npm',
'pnpm',
[
'publish',
...(releaseTag ? ['--tag', releaseTag] : []),