harbor/tests/travis/ui_ut_run.sh
Meina Zhou 70961ca02c upgrade node js version in ci and split the job to run frontend ut
Signed-off-by: Meina Zhou <meinaz@vmware.com>
2019-09-11 14:55:31 +08:00

7 lines
253 B
Bash

cd ./src/portal
npm install -g -q --no-progress angular-cli
npm install -g -q --no-progress karma
npm install -q --no-progress
npm run build_lib && npm run link_lib && cd ../..
cd ./src/portal && npm run lint && npm run lint:lib && npm run test && cd -