LIke there is
eas-build-pre-install
, and
eas-build-pre-upload-artifacts
, an
eas-build-failure
would be useful to report when the build fails with a direct hook.