I am working on a monorepo. Thus there are many packages in one repository.
Goal
Run tests before building a package. But not only the tests of this one package should be run, but also the tests of the dependencies (every level of dependency).
Example
Suppose there are 3 packages:
- server
- utils
- data
server
depends ondata
anddata
depends onutils
and I want to build the server
package.
So before the build starts, it should run all tests of all 3 packages (because server depends on both other packages)
Aucun commentaire:
Enregistrer un commentaire