Browse Source

workflow: use pnpm publish during release

Evan You 3 năm trước cách đây
mục cha
commit
a11599449e
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      scripts/release.js

+ 1 - 3
scripts/release.js

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