workflow
workflow copied to clipboard
Build script exit before all tasks are done
The build script times out after 5 seconds and exit. Some tasks that take a long time might be interrupted in the middle.
I think about changing the tasks into promises and when all the promises are resolved, exit