Closed ascariandrea closed 1 year ago
Yep, I can move the logic inside the shared
package, will do 👍🏽
@rekoke I merged the scripts into one!
I also removed the yarn build
step and the --runInBand
option from jest
that runs tests sequentially.
With this configuration we're only adding +70/80 seconds on git push
, which I think is an acceptable tradeoff.
Sorry I realized now, to accept this PR we need to consider docker
as requisite for development; I didn't see explicit
@vecna I added docker
as requirement in the README.md
This
hook
enforces to runyarn build
(commented out at the moment causedocs
aren't building) andyarn test
before pushing, adding ~6 min to the time needed for pushWith this in place we should have a better flow to be sure we're not pushing "wrong code", but it can be easily disable with
-n
at any occurrence