web: optimize tests by ~120% (#1018)

This is mainly done via sharding, caching & reducing total work:
1. `terser` is turned off when generating test build
2. `nx` distributed cache allows reusing build outputs
3. `playwright` sharding allows running tests in parallel

This can further be improved by using `swc` & `esbuild` during build
This commit is contained in:
Abdullah Atta
2022-09-21 14:01:32 +05:00
committed by GitHub
parent e347922be9
commit 6d75476e7c
14 changed files with 310 additions and 97 deletions

3
.gitignore vendored
View File

@@ -2,4 +2,5 @@ build
coverage
node_modules
dist
.DS_STORE
.DS_STORE
nx-cloud.env