When developing a Java application for production, I typically set up the build process to create the production artifacts first and then run tests against those artifacts.
Recently, I joined an Angular project and noticed that the build process is structured differently:
ng test && ng lint && ng build --prod
This setup runs tests and lints before actually building the project. Could this be an attempt to catch errors sooner, considering that the test build is faster? Is this a common practice in Angular development?