Gotcha about chromatic publish not working

New repos with less than 2 commits will fail due to the shallow clone test `Found only one commit
This typically means you've checked out a shallow copy of the Git repository,`
This commit is contained in:
Peter Simmons 2022-01-04 10:33:48 +13:00 committed by GitHub
parent 4a89e8754f
commit 6f84b05bb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,6 +40,13 @@ npx chromatic --project-token <your-project-token>
</div>
<div class="aside">
GOTCHA: If you're project has less than 2 commits chromatic publishing will fail while `Retrieving git information` add another commit and try again.
</div>
```shell
Build 1 published.