Skip to content

Commit

Permalink
tweaks to chromatic settings
Browse files Browse the repository at this point in the history
  • Loading branch information
stephiescastle committed Jul 10, 2024
1 parent 4e5929e commit 1da0d4b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
"pnpm --filter @explorer-1/vue-storybook start" \
"pnpm --filter @explorer-1/vue-storybook test:ci"
publish-to-chromatic:
publish:
needs: [build, a11y-tests]
timeout-minutes: 30
runs-on: ubuntu-latest
Expand Down Expand Up @@ -113,6 +113,7 @@ jobs:
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
storybookBuildDir: 'apps/vue-storybook/storybook_compiled'
zip: true
storybookBaseDir: 'apps/vue-storybook'
storybookBuildDir: 'storybook_compiled'
exitZeroOnChanges: true,
exitOnceUploaded: true
3 changes: 2 additions & 1 deletion apps/vue-storybook/chromatic.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"buildScriptName": "build",
"projectId": "Project:668c47cbeb95392cd79c3c0d",
"exitZeroOnChanges": true,
"storybookBaseDir": "apps/vue-storybook",
"storybookBuildDir": "apps/vue-storybook/storybook_compiled",
"storybookBuildDir": "storybook_compiled",
"zip": true
}
1 change: 1 addition & 0 deletions packages/vue/src/components/BaseImage/BaseImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export default defineComponent({
:width="width"
:height="height"
:loading="loading"
data-chromatic="ignore"
@error="imageFailed"
/>
</div>
Expand Down
1 change: 1 addition & 0 deletions packages/vue/src/components/BaseTimer/BaseTimer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<span
class="text-stats-xl"
:class="{ 'text-seconds': unit === 'seconds' }"
data-chromatic="ignore"
>
<template v-if="countdown && isPast">00</template>
<template v-else>{{ unitValue(unit) }}</template>
Expand Down
1 change: 1 addition & 0 deletions packages/vue/src/components/BaseVideo/BaseVideo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
:playsinline="autoplay"
:autoplay="autoplay"
:controls="!autoplay"
data-chromatic="ignore"
>
<template v-if="data.fileWebm">
<source
Expand Down

0 comments on commit 1da0d4b

Please sign in to comment.