Skip to content

Commit

Permalink
add setup CI tip
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre-Herve committed Sep 20, 2023
1 parent d25e041 commit 85a7dab
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions projects/optic/src/commands/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,13 @@ export const getRunAction =

await flushEvents();

if (!config.isInCi) {
logger.info('');
logger.info(
`🤖 Don't forget to add Optic to your CI flow: https://www.useoptic.com/docs/setup-ci`
);
}

if (exit1) {
logger.info(
'Exiting with code 1 as errors were found. Disable this behaviour with the `--severity none` option.'
Expand Down

0 comments on commit 85a7dab

Please sign in to comment.