Gaëtan Maisse
f8319e733b
ci: add cache for yarn cache-folder
2020-10-03 18:23:37 +02:00
Gaëtan Maisse
522fbfca80
ci: replace xlarge executor with large ones to save some CI credits
2020-10-03 18:23:36 +02:00
Gaëtan Maisse
2386fb1670
ci: rework steps
2020-10-03 18:23:36 +02:00
Gaëtan Maisse
2c6e3cc841
ci: tune executors to reduce overhaul time
2020-10-03 18:23:36 +02:00
Gaëtan Maisse
25a534fed8
ci: remove examples from critical path
2020-10-03 18:23:36 +02:00
Gaëtan Maisse
93b1f4ad93
ci: remove node_modules
cache
...
After walking through ~100 CircleCI runs I didn't find a single one during which `node_modules` cache was really used and resulted in reducing the `yarn install` phase to almost 0s.
However, saving and restoring this cache takes time on each run... so let's try to remove it and see what will happen.
It's possible that this cache is not working well as we are in a monorepo and we are caching only root `node_modules` so yarn still have to fetch some deps for subpackages
2020-10-03 18:23:35 +02:00
Gaëtan Maisse
49d3bf4f70
ci: merge install
and build
in a single step
...
This will save the time used to:
- Spin up environment
- Attaching workspace
- Repo checkout
2020-10-03 18:23:35 +02:00
Gaëtan Maisse
1d4273098c
ci: set NodeJS max RAM to 4Go
2020-10-03 18:23:34 +02:00
Gaëtan Maisse
c0cf960ad9
ci: use a custom checkout
step to avoid cloning the full repository
...
For details, see https://medium.com/equify-tech/from-5-minutes-to-5-seconds-customize-your-checkout-step-in-circleci-2-0-244d7b226d7d
2020-10-03 18:23:34 +02:00
Gaëtan Maisse
52c37d6fac
ci: tune executor config to reduce CI overhaul running time
...
Use `xlarge` executor for bottleneck steps: `build` and `publish`
Use `small` executor for side-running steps: `packtracker` and `smoke-tests`
2020-10-03 18:23:34 +02:00
Gaëtan Maisse
0181230051
ci: replace handmade repo-dirty-check
by --frozen-lockfile
option when running yarn install
...
Doc:
If you need reproducible dependencies, which is usually the case with the continuous integration systems, you should pass --frozen-lockfile flag.
> yarn install --frozen-lockfile
> Don’t generate a yarn.lock lockfile and fail if an update is needed.
2020-10-03 18:23:34 +02:00
merceyz
17198d7e9d
ci: enable sfcVue pnp e2e test
2020-09-12 00:20:02 +02:00
Grant MacGillivray
67837d2899
Updating and optimizing circleCI Config
...
Made some changes (along with @ KyleTryon ) to the config file in order to increase the performance and decrease credit usage, primarily via the usage of different size executors. Also wrote a framework for more easily specifying the executor and size in the config file. These changes, though small, should add up to fewer consumed credits.
2020-08-18 13:44:06 -07:00
Michael Shilman
2551e2eac1
Remove docs from CI
2020-08-10 16:55:02 +08:00
Gaëtan Maisse
6515930833
refactor(e2e): use base CRA tests config for Yarn 2 instead of a custom one
2020-07-25 19:58:59 +02:00
Gaëtan Maisse
7e95114d79
feat(e2e): introduce --use-yarn-2
option to run tests with Yarn 2
2020-07-25 19:58:57 +02:00
Norbert de Langen
48d2339abf
Merge pull request #11365 from storybookjs/add/artifacts-e2e
...
Build: Add artifacts for e2e CI task
2020-07-01 12:47:51 +02:00
Gaëtan Maisse
27c3c730f7
e2e: fix name of tests config to be valid npm project name
...
These names are used to init NPM project and so must follow validation rules:
https://github.com/npm/validate-npm-package-name
Moreover, they are now all consistant.
2020-06-30 20:36:31 +02:00
Norbert de Langen
4913285098
ADD artifacts for e2e CI task
2020-06-30 15:18:46 +02:00
Norbert de Langen
ce70498506
FIX cypress version
2020-06-04 12:20:58 +02:00
Norbert de Langen
93c0ec0139
Merge branch 'next' into tech/e2eStab-semver
...
# Conflicts:
# lib/cli/src/latest_version.ts
# lib/ui/scripts/webpackDllsConfig.js
# package.json
# yarn.lock
2020-06-04 11:41:46 +02:00
Gaëtan Maisse
c5e344bc28
test: reactivate Yarn 2 E2E tests
2020-06-03 21:13:48 +02:00
Norbert de Langen
bf5bd5f629
disable yarn-2 test for now
2020-06-02 09:49:54 +02:00
Norbert de Langen
55462aaef1
UPGRADE cypress
2020-05-26 13:26:02 +02:00
Michael Shilman
bdbd62a010
Build: Increase parallelism
2020-05-20 10:09:31 +08:00
tooppaaa
072b774693
core: ci and examples generation
2020-05-09 11:34:50 +02:00
Norbert de Langen
9f75def135
FIX circleci missing git
2020-03-30 16:55:16 +02:00
Norbert de Langen
6a7eaa691a
FIX circleci
2020-03-30 14:16:18 +02:00
Norbert de Langen
8d0d44097a
FIX puppeteer missing
2020-03-30 13:53:50 +02:00
Norbert de Langen
85c13156d0
IMRPOVE puppeteer deps install
2020-03-18 14:56:41 +01:00
Norbert de Langen
cfd6bb77e3
CHANGE to use puppeteer fix
2020-03-18 14:49:00 +01:00
Norbert de Langen
869a75f459
ADD puppeteer orb
2020-03-18 14:25:46 +01:00
Norbert de Langen
d975c64524
ADD script & parallelization for running chromatic on examples
2020-03-13 17:10:11 +01:00
Norbert de Langen
4b45e5d029
CHANGE number of parallel examples
2020-03-03 19:40:16 +01:00
Norbert de Langen
c540a98a1a
CHANGE ci config to run all example generation in parallel
2020-03-03 15:19:54 +01:00
Norbert de Langen
27dbb413d9
ADD checkout step to build step
2020-03-03 15:05:25 +01:00
Norbert de Langen
ccfb9eaeda
FIX ci config typo
2020-03-03 14:56:23 +01:00
Norbert de Langen
dd55e66567
CHANGE ci config to do install & build separately (experiment)
2020-03-03 14:55:32 +01:00
Norbert de Langen
e4cde4d6a2
CHANGE parallelism in CircleCI
2020-03-03 14:19:19 +01:00
Michael Shilman
b919533f55
Merge branch 'next' into detach/react-native
2020-01-23 12:22:56 +08:00
Norbert de Langen
fb8e08f89f
DETACH react-native
2020-01-22 18:23:11 +01:00
Norbert de Langen
26c1417d12
DELETE references to polymer
2020-01-22 16:01:12 +01:00
Norbert de Langen
7566d6b41a
REMOVE chromatic on stand-alone, can't possibly work && FIX snapshots
2019-12-10 16:36:23 +01:00
Norbert de Langen
b11a3d7001
FIX bad path-ref
2019-12-10 12:02:20 +01:00
Norbert de Langen
ad4b080d50
CHANGE CI to chromatic on all examples
2019-12-10 10:32:17 +01:00
Norbert de Langen
2dd074fd13
ADD a step in circleci to upload storybook for angular
2019-10-18 16:24:24 +02:00
Norbert de Langen
8e01e91c06
maybe add parallelism to circleci examples generation
2019-10-17 14:33:57 +02:00
Norbert de Langen
3e255632e4
ADD cypress install
2019-10-16 21:38:41 +02:00
Norbert de Langen
9a9584e4e8
cache invalidation
2019-10-16 20:53:12 +02:00
Norbert de Langen
bde5ec0c5d
make it better maybe
2019-10-16 20:38:00 +02:00