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

Conversation

jonspalmer
Copy link
Contributor

@jonspalmer jonspalmer commented Feb 27, 2020

What I did

Experiment to see if we can make CircleCI a little faster by not schlepping a Chromium binary around all the build steps

Puppeteer comes with an installed copy of chromium which we then tar and pass around in our node_module caches in GitHub actions and CircleCI workspaces. Removing the hard dependency saves about 90MB of tared node modules we don't have to cache.

Only a single set of tests (which are failing) need Puppeteer and just install in when we need it. It's also likely that we can simply use Chrome installed on the Docker images we using.

[ ] Add documentation on running puppeteer tests locally (needs to install Chomre/Chromium)
[ ] Explore using Chrome on CI vendor's docker images

Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️❤️❤️

@shilman shilman added maintenance User-facing maintenance tasks patch:yes Bugfix & documentation PR that need to be picked to main branch labels Feb 27, 2020
@shilman shilman added this to the 5.3.x milestone Feb 27, 2020
@ndelangen ndelangen self-assigned this Mar 16, 2020
# Conflicts:
#	.github/workflows/tests-puppeteer.yml
#	examples/official-storybook/package.json
#	yarn.lock
@ndelangen ndelangen merged commit f644c56 into storybookjs:next Mar 16, 2020
@shilman shilman removed the patch:yes Bugfix & documentation PR that need to be picked to main branch label Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance User-facing maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants