#!/bin/bash

baseDir="/home/somuns/ci4s"
cd ${baseDir}/react-ui

npm install

if [ $? -ne 0 ]; then
    echo "Failed to install npm depend package"
    exit 1
fi


npm run build  
if [ $? -ne 0 ]; then
    echo "Failed to build react-ui"
    exit 1
fi



