ci: run all jest tests in one operation
Created by: valerybugakov
Context
Some client unit tests were not executed on CI because new client packages were added without updating the corresponding CI steps. To avoid this problem in the future, client unit tests are now divided into three parts:
-
client/web
. -
client/browser
. - Everything else via the
--testPathIgnorePatterns
flag.
Also, build-ts
and eslint
steps are split into standalone CI steps because they do not depend on each other and can be executed independently. It makes the ESLint step ~2m faster.
Test plan
- Ensure that all
jest
client tests are executed on CI. - Check out the CI build that includes client steps with all changes introduced in this branch.