mardi 31 mars 2020

Only build Angular 9 project once for package output and running tests

In our CI we currently run ng test before ng build. Since the upgrade to Angular this leads to the full project being compiled twice. Once for the tests and once for the build.

This is taking up about 2 minutes of extra time in our CI, but it is a redundant tasks.

Is it possible to run the jasmine tests against the compiled output?

Aucun commentaire:

Enregistrer un commentaire