As pointed out by @Slbox, an expo project has to be added to git (i.e. have a .git dir) for eas build to be able to process it.