During the production deployment, building Docker images sometimes
fail due to errors in the source code. Production deployment tends to
take around 20 minutes so it is important to minimise retries.
Let's add a build simulation step in CI to test the TypeScript
compilation and allow us to rule out TypeScript compilation errors if
the production deployment workflow were to fail again.
During the production deployment, building Docker images sometimes fail due to errors in the source code. Production deployment tends to take around 20 minutes so it is important to minimise retries.
Let's add a build simulation step in CI to test the TypeScript compilation and allow us to rule out TypeScript compilation errors if the production deployment workflow were to fail again.