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

Build: Add CRA benchmark #12209

Merged
merged 5 commits into from Aug 31, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 11 additions & 0 deletions scripts/run-e2e-config.ts
Expand Up @@ -197,3 +197,14 @@ export const react_in_yarn_workspace: Parameters = {
`yarn add react react-dom --silent -W`,
].join(' && '),
};

// View results at: https://datastudio.google.com/reporting/c34f64ee-400f-4d06-ad4f-5c2133e226da
export const cra_bench: Parameters = {
name: 'cra_bench',
version: 'latest',
generator: [
'npx create-react-app@{{version}} {{name}}-{{version}}',
'cd {{name}}-{{version}}',
"npx @storybook/bench 'npx sb init' --label cra",
].join(' && '),
};
8 changes: 8 additions & 0 deletions scripts/verdaccio.yaml
Expand Up @@ -43,6 +43,14 @@ packages:
access: $all
publish: $all
proxy: npmjs
'@storybook/bench':
access: $all
publish: $all
proxy: npmjs
'@storybook/addon-bench':
access: $all
publish: $all
proxy: npmjs

# storybook packages are NOT proxied to global registry
# allowing us to republish any version during tests
Expand Down