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 28, 2021
1 parent a57170b commit 4e4a0aa
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/e2e-storybook-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,17 @@ jobs:
run: |
source scripts/e2e-setup-ci.sh
yarn dlx create-react-app my-cra && cd my-cra
yarn add -D eslint-config-react-app
# TODO: Remove when fixed upstream
yarn add -D eslint-config-react-app babel-eslint 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 4e4a0aa

Please sign in to comment.