294 Commits

Author SHA1 Message Date
Gaëtan Maisse
0ca55ae561
Add a repro config for Angular 12 and use it in E2E tests 2021-11-11 18:54:08 +01:00
Kyle Gach
0308885d8c Add handle-release-branches-workflow
- Assuming "latest" is 6.3 & "next" is 6.4...
- On push to `main`
    - Use webhook to kick off production frontpage deploy
- On push to `next`
    - Creates & force-pushes `release-6-4` branch
    - Sends dispatch event to frontpage repo to create `release-6-4` branch
- On push to `release-x-x`
    - If pushing to `release-6-4`
        - Warns that changes will be lost on next push to `next`
    - Else
        - Sends dispatch event to frontpage repo to create `release-n-n` branch
- Remove `build-frontpage` script
    - Remove references from teamcity & circleci configs
2021-11-11 08:13:33 -07:00
Gaëtan Maisse
70866b8130
chore: update Cypress to 8.7 2021-10-26 20:47:35 +02:00
Gaëtan Maisse
6fa76e2880
Merge branch 'next' into update-cypress-and-node 2021-10-25 18:33:24 +02:00
Yann Braga
dffd39eda0 CLI: improve build-storybooks script in the monorepo 2021-10-21 11:34:08 +02:00
Gaëtan Maisse
8a768994a8
chore: upgrade Cypress and also Node.js version used in e2e tests 2021-10-07 08:34:28 +02:00
Gaëtan Maisse
5be1bc4607
ci: use large executor for e2e-core job 2021-08-12 15:14:11 +02:00
Gaëtan Maisse
983ce9c410
chore: improve the way Cypress records are handled as CircleCI artefacts 2021-07-12 21:38:33 +02:00
Michael Shilman
5d46d77587 Update CI to point to main branch 2021-06-23 13:57:55 +08:00
Gaëtan Maisse
b9ec80a8dc
e2e: add Lit 2 + TypeScript config as part of the core e2e tests 2021-05-24 21:35:13 +02:00
Gaëtan Maisse
4641148fe6
ci: reduce CircleCI no_output_timeout to 5m for E2E steps 2021-05-24 19:18:44 +02:00
Gaëtan Maisse
a9596f1b0a
fix(e2e): improve framework selection to avoid prompt on CI 2021-05-24 18:14:39 +02:00
Michael Shilman
76e971497f Build: Increase CI build step to XL 2021-05-18 10:13:17 +08:00
Michael Shilman
78ca90d971 Run the benchmark with the --modern flag 2021-05-17 18:36:03 +08:00
Gaëtan Maisse
9b15c7e0e2
ci: run Angular 12 e2e tests as part of e2e-tests-core
Keep Angular 11 for now as Angular 12 is out only for a few days.
2021-05-14 21:10:11 +02:00
Gaëtan Maisse
d9b94f606c
repro: add a config for Angular 11 as angular now points to Angular 12
Also, run Angular 11 repro in e2e for now. Will be replaced by Angular 12 as soon as SB will support it.
2021-05-13 20:41:25 +02:00
Gaëtan Maisse
bcaf062418
e2e: run web_components_typescript e2e test with node_modules linker instead of PnP
It looks like there is an issue with PnP, it is sometimes failing to parse TypeScript stories...
2021-05-13 20:04:40 +02:00
Gaëtan Maisse
426bbe55ab
e2e: use config from repro instead of duplicating them 2021-05-09 19:21:37 +02:00
Gaëtan Maisse
57901d726f
e2e: convert CRA bench to a bare CircleCI script
There is no need to run Cypress tests as there is already some E2E with CRA (simple + TypeScript)
2021-05-09 19:21:36 +02:00
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