I can be obsessive about doing things the right way, but my most successful projects have always been the ones where the code looks like I dragged it kicking and screaming over the finish line and the infrastructure is basically nonexistent. And sometimes I clean it up afterwards, once I am motivated by the success of the project.
By infrastructure I mean things like CICD or even tests. If I have to choose between thorough testing and being able to finish the project at all, testing can wait.