chromatic-cli: New storybook v6.4.22 version is failing in Github Action env
Tried to upgrade to v6.4.22 and suddenly the CI environment in Github Actions started breaking.
The versions that were bumped from -> to
"@storybook/addon-a11y": "^6.4.19",
"@storybook/addon-actions": "^6.3.12",
"@storybook/addon-essentials": "^6.3.12",
"@storybook/addon-links": "^6.3.12",
"@storybook/addon-storysource": "^6.4.19",
"@storybook/react": "^6.3.12",
"@storybook/addon-a11y": "^6.4.22",
"@storybook/addon-actions": "^6.4.22",
"@storybook/addon-essentials": "^6.4.22",
"@storybook/addon-links": "^6.4.22",
"@storybook/addon-storysource": "^6.4.22",
"@storybook/react": "^6.4.22",
And the issue appeared when the npm run command was executed every time. When I reverted back the yarn.lock file everything worked again.
The debug logs from the Github action is also attached in case you find it helpful
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 15 (7 by maintainers)
@iamswain25 I’d advise writing in to Chromatic support with some details and we can help you out further.
Not sure @tmeasday , the issue I can see as all packages are using the latest version: issue
When I manually added the
'@storybook/addon-actions'inmain.jsthe build completed but with some issues (no stories at all inside)I would make an educated guess, that the issue is coming from the
npm runrather than choosingyarnas locally it builds fine with theyarn build