From f85e1b80889c8994c222e18da634335ad942ad7b Mon Sep 17 00:00:00 2001 From: Xiao Yijun Date: Mon, 13 May 2024 12:10:12 +0800 Subject: [PATCH] ci(connector): build connectors before publish (#5853) --- .scripts/publish.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.scripts/publish.js b/.scripts/publish.js index e47612dc4..77dec0d57 100644 --- a/.scripts/publish.js +++ b/.scripts/publish.js @@ -52,6 +52,10 @@ if (taggedPackages.length === 0) { try { execSync('pnpm prepack'); + /** + * Build connectors before publish since some connectors rely on the generated types from oauth2 connector package. + */ + execSync('pnpm connectors build'); execSync('pnpm -r publish'); execSync('git push --follow-tags'); } catch (error) {