harbor/tests/ci/ui_ut_run.sh
Shijun Sun eee72e2354
Add style lint and add code lint to the pipeline (#16954)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-06-08 16:35:19 +08:00

13 lines
249 B
Bash
Executable File

#!/bin/bash
set -x
set -e
cd ./src/portal
npm install -g -q --no-progress @angular/cli
npm install -g -q --no-progress karma
npm install -q --no-progress
# check code lint first then run ut test
npm run lint
npm run lint:style
npm run test && cd -