Skip to content

Commit

Permalink
ci: fix the create-react-app e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz committed Jan 18, 2022
1 parent cd0a776 commit ff49ddf
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/e2e-cra-workflow.yml
Expand Up @@ -25,14 +25,23 @@ 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 create-react-app fixes their ESLint setup
yarn add -D eslint-config-react-app eslint
yarn build
- name: 'Running the TypeScript integration test'
run: |
source scripts/e2e-setup-ci.sh
yarn dlx create-react-app my-cra-ts --template typescript && cd my-cra-ts
yarn add -D eslint-config-react-app
# TODO: Remove when create-react-app fixes their ESLint setup
yarn add -D eslint-config-react-app eslint
# TODO: Remove when https://github.com/facebook/create-react-app/pull/11751 is released
yarn add -D @types/testing-library__jest-dom
yarn build
if: |
always()
8 changes: 7 additions & 1 deletion .github/workflows/e2e-storybook-workflow.yml
Expand Up @@ -26,7 +26,13 @@ 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 https://github.com/webpack-contrib/mini-css-extract-plugin/issues/896 is fixed
yarn set resolution mini-css-extract-plugin@npm:^2.4.5 2.4.5
# TODO: Remove when create-react-app fixes their ESLint setup
yarn add -D eslint-config-react-app eslint
yarn dlx -p @storybook/cli@next sb init --yes
yarn build-storybook

0 comments on commit ff49ddf

Please sign in to comment.