Przeglądaj źródła

workflow: use pnpm publish during release

Evan You 3 lat temu
rodzic
commit
a11599449e
1 zmienionych plików z 1 dodań i 3 usunięć
  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] : []),