Skip to content

Commit

Permalink
Merge pull request #12209 from storybookjs/tech/benchmark
Browse files Browse the repository at this point in the history
Build: Add CRA benchmark
  • Loading branch information
shilman committed Aug 31, 2020
2 parents 039583b + d463e20 commit 09b75a3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
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

0 comments on commit 09b75a3

Please sign in to comment.