mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-18 08:15:16 +01:00
eee72e2354
Signed-off-by: AllForNothing <sshijun@vmware.com>
13 lines
249 B
Bash
Executable File
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 -
|