@@ -7,7 +7,7 @@ | |||
# @description: | |||
### | |||
npm -v | |||
npm config set registry https://registry.npm.taobao.org | |||
npm config set registry https://registry.npmmirror.com | |||
npm install | |||
npm run build-dev | |||
image_version=`date +%Y%m%d%H%M`; | |||
@@ -7,7 +7,7 @@ | |||
# @description: | |||
### | |||
npm -v | |||
npm config set registry https://registry.npm.taobao.org | |||
npm config set registry https://registry.npmmirror.com | |||
npm install | |||
npm run build | |||
image_version=$version; | |||
@@ -8,7 +8,7 @@ | |||
### | |||
#!/bin/bash | |||
npm -v | |||
npm config set registry https://registry.npm.taobao.org | |||
npm config set registry https://registry.npmmirror.com | |||
npm install | |||
npm run build-test | |||
image_version=$version; | |||