Skip to content

Commit

Permalink
Disable telemetry for bench sandboxes for less flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed Oct 31, 2023
1 parent c33b724 commit 93de5be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/tasks/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ export const build: Task = {
const start = now();

await exec(
`yarn build-storybook --quiet ${template.modifications?.testBuild ? '--test' : ''}`,
`${
template.name.includes('bench') ? 'STORYBOOK_DISABLE_TELEMETRY=1 ' : ''
}yarn build-storybook --quiet ${template.modifications?.testBuild ? '--test' : ''}`,
{ cwd: sandboxDir },
{ dryRun, debug }
);
Expand Down

0 comments on commit 93de5be

Please sign in to comment.