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