Thanks for your reply! In fact “puppeteer” is one of my package’s dependencies as well, so it seems likely that the “yarn install” hang is somehow related to that.
I came back to share my hack workaround for the hang in the “Building fresh packages” step. This exits the “yarn install” early if it sees the “Building fresh packages” line.
- run: |
(yarn install --non-interactive &) |
while read l; do
echo ">$l"
if [[ "$l" == *'Building fresh packages...'* ]]; then
sleep 4
break
fi
done