Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiment to make CircleCI tests a faster and more stable #9969

Merged
merged 4 commits into from
Mar 16, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/tests-puppeteer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
- name: build storybook
run: |
yarn --cwd examples/official-storybook build-storybook
- name: install puppeteer
run: |
yarn --cwd examples/official-storybook add puppeteer
- name: test
run: |
yarn test --puppeteer
4 changes: 2 additions & 2 deletions .github/workflows/tests-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on: [push]
jobs:
build:

name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
name: Test on node
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
with:
Expand Down
4 changes: 3 additions & 1 deletion examples/official-storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,15 @@
"lodash": "^4.17.15",
"paths.macro": "^2.0.2",
"prop-types": "^15.7.2",
"puppeteer": "^2.1.0",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"storybook-chromatic": "^3.5.0",
"terser-webpack-plugin": "^2.3.4",
"ts-loader": "^6.0.0",
"uuid": "^3.3.2",
"webpack": "^4.33.0"
},
"peerDependencies": {
"puppeteer": "^2.1.0"
}
}
Loading