-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Action TurboSnap fails with Storybook 8.2.9 #1030
Comments
hello @MoritzWeber0 yes, the
|
Is there any workaround for this? Couldn't find any limitations that the Chromatic GitHub Action is not compatible with newer versions of Storybook. Thanks for checking 👍 EDIT: I guess that I have to use a prebuilt Storybook with the GH Action. |
The following workaround with a prebuilt Storybook seems to work: - name: Build Storybook
run: npx -p @angular/cli ng run capellacollab:build-storybook
working-directory: ./frontend
- name: Run Chromatic
id: chromatic
uses: chromaui/action@latest
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
workingDir: ./frontend
storybookBuildDir: ./storybook-static
onlyChanged: true |
@MoritzWeber0 thanks for testing and sharing the workaround. We are investigating this issue. |
The I believe this is actually related to the Angular builder not working with We will additionally use |
@MoritzWeber0 Chromatic v11.9.0 and the latest Action release should resolve that issue 👍 |
I don't understand why this issue is considered has fixed, i use |
Hey @fgirardey thanks for reporting this! Can you share more details with us? Send us an email to [email protected] |
Bug report
When I enable TurboSnap in my GitHub Actions pipeline, the build starts failing with the following output:
I use the
chromatic/action@latest
step:See also: https://github.com/DSD-DBS/capella-collab-manager/blob/main/.github/workflows/storybook.yml
In the build comment, it tries to pass
--webpack-stats-json
. This option doesn't seem to exist anymore in the latest Storybook version and--stats-json
should be used instead: https://storybook.js.org/docs/api/cli-optionsThe text was updated successfully, but these errors were encountered: