-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Use current working directory as default value for storybookBaseDir
#976
Conversation
…like getDependentStoryFiles does
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy will stop sending the deprecated coverage status from June 5th, 2024. Learn more Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗂️👍🏻
🚀 PR was released in |
That's nice, I'm truly grateful for the fix, but since the Github action still has the same version ("chromaui/action@v1"), it broke our build that we hacked to work around the issue. Is there a possibility to version the Github action in the future to avoid such issues? Edit: ah I see, I can actually get earlier versions at https://github.com/chromaui/action/tags , and it's just the "v1" that changes constantly, good to know. I couldn't get the new version to work with our setup, btw, but I guess that should go to a different issue. |
getDependentStoryFiles
has always used the current working directory as base directory whenstorybookBaseDir
isn't set, making it zero-config in most cases.checkStorybookBaseDir
wasn't behaving in the same way, causing it to throw an error when it shouldn't. This update fixes this inconsistency by using the current working directory relative to the repository root as the default value forstorybookBaseDir
.📦 Published PR as canary version:
11.3.3--canary.976.9004196764.0
✨ Test out this PR locally via:
npm install chromatic@11.3.3--canary.976.9004196764.0 # or yarn add chromatic@11.3.3--canary.976.9004196764.0