12 Commits

Author SHA1 Message Date
Gaëtan Maisse
23459576b8
test(e2e): improve jobs assignment on CI nodes
With the previous algorithm, some nodes have no jobs assigned to them due to rounding consideration.
For example with 10 nodes and 13 jobs to assign:
 13 jobs / 10 nodes -> 1.3 jobs per node -> rounded to 2 -> only the 1st 6 nodes run 2 jobs, the 7th 1 job and the other 0 job.

Using a modulo ensures that each node will at least run 1 job.
2020-05-29 20:49:40 +02:00
Gaëtan Maisse
df737246d7
fix(e2e): remove skip-install option from sb init command
Removed this option because it can hide some issues with dependency installation process of @storybook/cli.
For instance, missing Yarn flags needed to have the CLI working in Yarn workspaces.

Also, as `sb init` is now running `yarn/npm install` the resolution step has to be made before init Storybook.
2020-05-29 20:47:10 +02:00
tooppaaa
615dd52266 Core: Close server when e2e test failed 2020-05-22 09:02:08 +02:00
tooppaaa
95380d3105 fix... 2020-05-19 10:12:51 +02:00
tooppaaa
e1ada00150 fix path 2020-05-19 09:41:56 +02:00
tooppaaa
c69e28c12f fix ts 2020-05-19 09:13:46 +02:00
tooppaaa
cd8c903437 set resolutions 2020-05-18 23:52:29 +02:00
tooppaaa
b98dd109f8 fix resolution 2020-05-18 23:03:59 +02:00
tooppaaa
438d543680 add tsconfig for scripts 2020-05-18 22:29:50 +02:00
tooppaaa
2d47bfff4c types 2020-05-18 15:10:08 +02:00
Norbert de Langen
b78317c5f2
WIP 2020-05-18 14:58:55 +02:00
tooppaaa
072b774693 core: ci and examples generation 2020-05-09 11:34:50 +02:00