[exp CLI] exp login hangs in Bitbucket pipelines

Hi,
Ì am observing the same issue on vsts build pipeline.

I ended up ‘hacking’ a solution, temporary, I hope.

So here is the command:

( cmdpid=$BASHPID; (sleep 10; kill $cmdpid) && exec expo-cli login -u <LOGIN> -p <PASSWORD> --non-interactive ) || exit 0

It is basically saying :

wrap the “expo login” command inside a timeout of 10 seconds, and always returns a successful result (status code 0)