Michael Shilman
1f7aa21699
Delete unmaintained dev-kits
2021-05-06 22:32:11 +08:00
Michael Shilman
b6c3fb832e
Merge branch 'next' into 14796-split-out-marko
2021-05-06 20:32:28 +08:00
Michael Shilman
1ade592e34
Merge branch 'next' into 14796-split-out-mithril
2021-05-06 20:28:08 +08:00
Michael Shilman
5906cdafa4
remove mithril smoke test
2021-05-05 01:55:11 +08:00
Michael Shilman
f9b5115e6d
remove riot smoke test
2021-05-05 01:53:59 +08:00
Michael Shilman
99113fb43c
remove marko smoke test
2021-05-05 01:53:09 +08:00
Gaëtan Maisse
135912a0d2
chore: upgrade to Cypress 6.8 and use Cypress docker image in CircleCI
...
Previously Cypress was installed manually to be sure to run with Node 10.
We can now use the docker images provided by Cypress team (at least for the 6.8) because they are based on Node 12, the one we are using across the CI.
2021-04-13 22:14:54 +02:00
Gaëtan Maisse
9ece9c584b
ci: rework E2E tests in CircleCI
...
New layout:
- `e2e-tests-core` for "officially" supported frameworks : Vue + Angular (+ React + Web Components in e2e-tests-pnp)
- `e2e-tests-extended` for other frameworks: Preact, Svelte, Riot, Rax etc
- `e2e-tests-pnp` for some frameworks/setups compatible with PnP: React + WC
2021-04-13 22:14:27 +02:00
Gaëtan Maisse
e720481924
ci: use Node 12 in CI as latest version of Yarn introduced in dae3631a needs Node >=12
2021-04-07 18:30:50 +02:00
Gaëtan Maisse
be4c394807
ci: disable ESLint plugin when running SB smoke tests in CircleCI
2021-04-07 18:30:50 +02:00
Gaëtan Maisse
98fa420bef
chore: move to Yarn 2 🧶
2021-04-07 18:25:38 +02:00
Norbert de Langen
192090f7c6
Merge pull request #13872 from storybookjs/tech/rework-ci
...
Build: Move all the `yarn install` in the `build` CI job
2021-02-12 08:42:28 +01:00
Gaëtan Maisse
cb6c9f01a2
ci: install all dependencies in build
step to avoid hoisting issue (more visible with Yarn 2)
2021-02-11 08:50:03 +01:00
Gaëtan Maisse
4e90dffc5a
chore: rework test
NPM script (--core
option has been removed)
...
Previously the unit tests were run with a custom script `scripts/test.js`.
This script was a kind of wrapper around Jest, handling just a few options (skipping all the unknown ones) and spawning Jest programmatically.
To simplify this process:
- I extracted the only non-classic case in its own NPM script: `yarn test-puppeteer`
- Just call Jest directly when running `yarn test` so all the options are forwarded properly to Jest.
⚠️ `yarn test --core` doesn't work anymore as `--core` isn't a Jest option, it is now simply `yarn test`.
📝 To run the tests of a single workspace just use `--projects`, for instance: `yarn test --projects examples/angular-cli`
2021-02-11 08:33:59 +01:00
Blaine Bublitz
3148a19bf7
chore(ci): remove generic cache key from circle ci
2021-02-01 14:39:22 -07:00
Blaine Bublitz
9788988538
upgrade cypress image
2021-01-14 17:04:43 -07:00
Gaëtan Maisse
fa273e748d
ci: reduce Node max RAM to 3Go as medium executors have 4Go of RAM
...
Signed-off-by: Gaëtan Maisse <gaetanmaisse@gmail.com>
2021-01-13 20:46:13 +01:00
Gaëtan Maisse
d6f8bfbc49
ci: move Preact E2E tests on a Node 12 executor as the Preact CLI isn't compatible with Node 10 for a few weeks
...
Signed-off-by: Gaëtan Maisse <gaetanmaisse@gmail.com>
2021-01-12 13:35:42 +01:00
Gaëtan Maisse
ccf5de2d67
e2e: rename everything related to Yarn 2 to Yarn 2 PnP as there is now a node_modules mode too
...
Signed-off-by: Gaëtan Maisse <gaetanmaisse@gmail.com>
2021-01-12 13:35:42 +01:00
Gaëtan Maisse
1ad8febbab
ci: rename integration
tests to e2e-tests-examples
2020-12-09 16:38:25 +01:00
Gaëtan Maisse
c6997f3050
ci: update PR label used to run the e2e extended test suite
2020-12-08 20:32:06 +01:00
Gaëtan Maisse
81ba6da95c
ci: update tokens used in CircleCI Workflow and GH Actions
...
These tokens have been generated with storybook-bot GH user.
2020-12-08 20:32:05 +01:00
Gaëtan Maisse
d9e6dc30a7
ci: rename test
job to unit-tests
2020-12-08 19:26:03 +01:00
Gaëtan Maisse
4b911b47e0
ci: Use Node 10 + browser executor for e2e tests as Cypress need a browser to run
2020-12-08 19:26:03 +01:00
Gaëtan Maisse
8a7d5af95b
ci: rename examples-v2
jobs to e2e-tests
2020-12-08 19:26:02 +01:00
Gaëtan Maisse
1b51d61b15
chore: rename "test:e2e" NPM script to "test:integration".
...
Also rename the jobs in CircleCI workflow
2020-12-08 19:26:02 +01:00
Gaëtan Maisse
4b18dd03bc
ci: put back examples-v2 in test
workflow
2020-12-08 19:26:01 +01:00
Gaëtan Maisse
95950c1e7a
ci: support wildcard *
in ensure-pr-is-labeled-with
command
2020-12-08 19:26:00 +01:00
Gaëtan Maisse
d0128e67f2
ci: run all e2e tests on master
and next
2020-12-08 19:26:00 +01:00
Gaëtan Maisse
6b2e2e6a69
ci: ensure PR is labeled with run all e2e tests
before running exemples-v2
job
2020-12-08 19:26:00 +01:00
Gaëtan Maisse
313d5ccfaf
ci: create a CircleCI command to check if a PR has a specific label
2020-12-08 19:25:59 +01:00
Gaëtan Maisse
7c6727cb6f
ci: use guitarrapc/git-shallow-clone
CircleCI orb to do a git checkout with --depth 1
2020-12-08 19:25:59 +01:00
Gaëtan Maisse
0445910516
ci: use simple circleci/node:10
docker image for jobs which don't need any browser to be installed
2020-12-08 19:25:59 +01:00
Gaëtan Maisse
fd3d7498ac
ci: use a small
executor for install-e2e-deps
job as it isn't a critical step to speed up the whole workflow
2020-12-08 19:25:58 +01:00
Gaëtan Maisse
577455f518
ci: rename CircleCI executor
2020-12-08 19:25:58 +01:00
Gaëtan Maisse
6c3274c337
ci: cache node_modules folder directly in install-e2e-deps
job
2020-12-08 19:25:58 +01:00
Michael Shilman
bfa65b6dbb
Remove examples-v2 from the workflow
2020-11-25 22:18:33 +08:00
Gaëtan Maisse
1d1e9a459b
ci: reduce job parallelism to 4 as a workaround for current billing issues
2020-11-16 20:50:07 +01:00
ThibaudAv
f4535542e2
ci: bump cache keys to avoid huge cache restoration
...
the cache-v3 has been used for tests
2020-11-16 12:44:32 +01:00
Gaëtan Maisse
5224eba53b
ci: bump cache keys to avoid huge cache restoration (currently 751 MiB)
2020-11-12 19:35:19 +01:00
Gaëtan Maisse
59cb094f56
ci: use medium
executor on CircleCI to try to reduce the bill
2020-11-12 18:50:53 +01:00
Gaëtan Maisse
d922af0ec1
ci: move back angular E2E tests to classic executor as they rework on Node 10
2020-11-12 18:50:53 +01:00
Gaëtan Maisse
41f80ec6a7
ci: extract cra_bench in a dedicated job
...
CRA Bench requires Node 12 and isn't a "true" E2E test so it makes sense to move it in a dedicated job.
2020-10-12 22:33:27 +02:00
Gaëtan Maisse
e85ad5c912
ci: manually install Cypress to avoid using a docker image shipping its version of Node
...
We want all E2E tests to run against Node 10 but `cypress/included:4.7.0` docker image is based on Node 12.16.0.
2020-10-12 21:17:10 +02:00
Gaëtan Maisse
c9a13a36b7
ci: run Angular E2E tests on executors with the latest version of Node 12
2020-10-12 21:12:43 +02:00
Michael Shilman
8c9e0ac23c
Merge branch 'next' into 10009-poc-async-loaders
2020-10-07 13:10:34 +08:00
Michael Shilman
c1ff295246
Merge branch 'next' into 10009-poc-async-loaders
2020-10-07 12:23:34 +08:00
Gaëtan Maisse
0c6de67547
Revert "ci: use a custom checkout
step to avoid cloning the full repository"
...
This reverts commit c0cf960a
Sadly, the custom checkout steps wasn't working on fork.
2020-10-06 21:10:51 +02:00
Gaëtan Maisse
b449d57529
ci: use full checkout for chromatic
step as it needs to have the git history to run properly
2020-10-03 18:26:32 +02:00
Gaëtan Maisse
625ed36737
ci: put back a medium executor for packtracker
as it randomly fails with a small one
2020-10-03 18:23:38 +02:00