Execute related jest specs for MRs with only frontend changes
Plan
- Run
jest --findrelatedTests
for MRs that only change frontend code - No change to the pipeline if the MR changes
package.json
,yarn.lock
,.graphql
orvendor/assets/javascripts/**/*
- No change to the pipeline for MRs that change backend code, because we don't have a link between backend to fixtures to jest yet
- Incremental benefits:
- shorter frontend only pipelines as only related tests are run
- no difference to backend pipelines yet
Edited by Albert