echo "XX--- API CLI PR Verification: checks-setup start ---XX"

cd "$WORKSPACE/$(load_repo app-repo path)"

source $WORKSPACE/$PIPELINE_CONFIG_REPO_PATH/scripts/code_setup.sh

# ensure we're located in the source app repo
cd "$WORKSPACE/$(load_repo app-repo path)"

# update the dependency in the source app

echo "Installing dependencies..."
NODE_OPTIONS="--max-old-space-size=4096" npm i

echo "XX--- API CLI PR Verification: checks-setup ends ---XX"
exit 0