mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
ci(connector): build connectors before publish (#5853)
This commit is contained in:
parent
393cf44af1
commit
f85e1b8088
1 changed files with 4 additions and 0 deletions
|
@ -52,6 +52,10 @@ if (taggedPackages.length === 0) {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
execSync('pnpm prepack');
|
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('pnpm -r publish');
|
||||||
execSync('git push --follow-tags');
|
execSync('git push --follow-tags');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
Loading…
Reference in a new issue