Update docs/src/best-practices-js.md
Co-authored-by: Dmitry Gozman <dgozman@gmail.com> Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
92eb046f0b
commit
4b803603c3
|
|
@ -476,7 +476,7 @@ Setup CI/CD and run your tests frequently. The more often you run your tests the
|
||||||
Use Linux when running your tests on CI as it is cheaper. Developers can use whatever environment when running locally but use linux on CI. Consider setting up [Sharding](./test-sharding.md) to make CI faster.
|
Use Linux when running your tests on CI as it is cheaper. Developers can use whatever environment when running locally but use linux on CI. Consider setting up [Sharding](./test-sharding.md) to make CI faster.
|
||||||
|
|
||||||
|
|
||||||
### Optimize browser downloads on CI
|
#### Optimize browser downloads on CI
|
||||||
|
|
||||||
Only install the browsers that you actually need, especially on CI. For example, if you're only testing with Chromium, install just Chromium which might save you up to 50s.
|
Only install the browsers that you actually need, especially on CI. For example, if you're only testing with Chromium, install just Chromium which might save you up to 50s.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue