From ce48251920484c60945a245d38e416bcc2957a5a Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Fri, 30 Dec 2022 14:23:13 +0800 Subject: [PATCH] ci: prepack before publish --- .scripts/publish.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.scripts/publish.js b/.scripts/publish.js index 95f3cd5e3..e47612dc4 100644 --- a/.scripts/publish.js +++ b/.scripts/publish.js @@ -51,6 +51,7 @@ if (taggedPackages.length === 0) { } try { + execSync('pnpm prepack'); execSync('pnpm -r publish'); execSync('git push --follow-tags'); } catch (error) {