Skip to content

Commit caca171

Browse files
Fix chromatic errors on main branch (#281)
* Fix chromatic error "✖ Failed to retrieve git information" * Fix chromatic error "✖ Missing project token"
1 parent cca2c48 commit caca171

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
steps:
2121
- name: Checkout
2222
uses: actions/checkout@v5
23+
with:
24+
fetch-depth: 0
2325

2426
- name: Enable corepack
2527
run: corepack enable
@@ -54,6 +56,7 @@ jobs:
5456
ref: ${{ env.CHROMATIC_BRANCH }}
5557

5658
- name: Storybook deploy
59+
if: ${{ env.CHROMATIC_PROJECT_TOKEN }}
5760
uses: chromaui/action@v13
5861
with:
5962
autoAcceptChanges: main

0 commit comments

Comments
 (0)