Storybook v7 has been out for awhile but it seems that Storycap hasn't been updated to officially support it.
The main issue I'm currently facing is that Storycap output is being flaky when running in GitHub Actions. It works correctly when run locally though. Roughly half of the screenshot re showing the "No Preview" screen.
My guess is that since GitHub Actions is running with less CPU resources than I have locally, it's slow switching between stories and the screenshots are being captured before the story is able to render. I tried adding a --delay 1000 but that didn't help.
Storybook v7 has been out for awhile but it seems that Storycap hasn't been updated to officially support it.
The main issue I'm currently facing is that Storycap output is being flaky when running in GitHub Actions. It works correctly when run locally though. Roughly half of the screenshot re showing the "No Preview" screen.
My guess is that since GitHub Actions is running with less CPU resources than I have locally, it's slow switching between stories and the screenshots are being captured before the story is able to render. I tried adding a
--delay 1000
but that didn't help.There are no errors or warnings output.
Deps:
Storybook config:
Github Actions steps:
Screenshots Output for some stories