Skip to content

Commit 938d7fd

Browse files
committed
fix(npm): add exit code -1 when publishing package fail
1 parent f7721f0 commit 938d7fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/monorepo/src/utils/packages/publishPackages.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ export async function publishPackages(context) {
9595
.join("\n")
9696
)
9797
);
98+
99+
process.exit(-1);
98100
}
99101

100102
await Promise.all(promises);

0 commit comments

Comments
 (0)