Skip to content

Commit

Permalink
ci: fix storybook test
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed Aug 8, 2022
1 parent 7b1226b commit ccc99ee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/e2e-storybook-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,12 @@ jobs:
yarn add -D eslint-config-react-app eslint
yarn dlx -p @storybook/cli@next sb init --yes
# TODO: Remove when fixed upstream
yarn config set "packageExtensions['@storybook/preset-create-react-app@*'].peerDependencies.webpack" "*"
yarn config set "packageExtensions['@storybook/preset-create-react-app@*'].dependencies['react-refresh']" "*"
yarn config set "packageExtensions['@storybook/preset-create-react-app@*'].dependencies['webpack-hot-middleware']" "*"
yarn add webpack@^4 @babel/core prop-types
yarn build-storybook

0 comments on commit ccc99ee

Please sign in to comment.