Instead of thinking of that as the "problem" -- maybe it's an "opportunity".
> During this wait, I can get distracted
Well, great! Fix the wait. Ask the questions during the wait. Why does it take so long? Can you optimize it? Can you fix it? Can you run it in parallel etc...
I don't think there has to or should be a long wait. Most infrastructure builds, CI/CD etc are bloated, unoptimized and take too long for no reason.