Skip to content

Commit eea24f8

Browse files
committed
🤖 Mock version by overwriting generated file in CI
1 parent fb23bf2 commit eea24f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/chromatic.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
- name: Generate version file
2525
run: ./scripts/generate-version.sh
2626

27+
- name: Mock version for stable visual testing
28+
run: cp .storybook/mocks/version.ts src/version.ts
29+
2730
- name: Build Storybook
2831
run: bun x storybook build --stats-json
2932

0 commit comments

Comments
 (0)