CLI exits with 0 even when graph deploy has failed
jaybuidl opened this issue · comments
Package
@graphprotocol/graph-cli@0.64.0
Expected behaviour
If graph deploy
fails, it should exit with 1, so that the error can be reported or handled in a CI context (e.g. Github workflow)
Actual behaviour
If graph deploy
fails, it should exit with 0.
Steps to reproduce
- Run
graph deploy --studio -l existingLabel
- Run
echo $?
Hi!
Are you looking for graph-cli? Because this repo belongs to graph-client.
Indeed! Just noticed that this is @graphprotocol/client-cli not @graphprotocol/cli. My bad!