Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
codykaup committed Dec 9, 2024
1 parent 383ecdd commit d950388
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/smoke-test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
secrets:
SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN:
required: true
push:

permissions:
contents: read
Expand Down
4 changes: 4 additions & 0 deletions chromatic.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://www.chromatic.com/config-file.schema.json",
"exitOnceUploaded": true
}
1 change: 1 addition & 0 deletions node-src/tasks/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ export const verifyBuild = async (ctx: Context, task: Task) => {
transitionTo(success, true)(ctx, task);

if (list || ctx.isPublishOnly || matchesBranch?.(ctx.options.exitOnceUploaded)) {
ctx.log.info('Exit once uploaded triggered, skipping!!!');
setExitCode(ctx, exitCodes.OK);
ctx.skipSnapshots = true;
}
Expand Down

0 comments on commit d950388

Please sign in to comment.