]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
workflow: use pnpm publish during release
authorEvan You <yyx990803@gmail.com>
Mon, 8 May 2023 08:51:50 +0000 (16:51 +0800)
committerEvan You <yyx990803@gmail.com>
Mon, 8 May 2023 08:51:50 +0000 (16:51 +0800)
scripts/release.js

index 4eabe911bee819eb5f3d32ac40ac7d9b1e9fbaf0..49a11a5520b9597c9c985fdc6e80405e414e34d8 100644 (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] : []),