Build api-docs before zk
if [ -z "$1" ]; then
cd $ZKSYNC_HOME
- yarn && yarn zk build
+ yarn && yarn api-docs build && yarn zk build
else
# can't start this with yarn since it has quirks with `--` as an argument
node -- $ZKSYNC_HOME/infrastructure/zk/build/index.js "$@"
