At the moment, when we are pushing to Github, it performs a few checks locally:
TypeScript type verification (npx tsc)
Linting
Pretifying
Orval type checking
All of these steps naturally takes time but even worse, if anything is off, the push is cancelled. This makes our push experience somewhat cumbersome and should be improved for overall Dev hapiness.
Introduce following changes:
We are already lining and typechecking as part of the build flow. Move this out in a separate action, and don't build, just lint and tsc, for faster feedback.
Move the Orval generated types out of the repository, and introduce type generation in the github action flows and include them in the generated docker images. Then it's up to the
At the moment, when we are pushing to Github, it performs a few checks locally:
All of these steps naturally takes time but even worse, if anything is off, the push is cancelled. This makes our push experience somewhat cumbersome and should be improved for overall Dev hapiness.
Introduce following changes: