Skip to content
代码片段 群组 项目
提交 64cb12e1 编辑于 作者: 刘剑桥's avatar 刘剑桥
浏览文件

ci: changed to taobao registry

上级 207aa6a6
No related branches found
No related tags found
无相关合并请求
Pipeline #689844 已通过
...@@ -3,6 +3,7 @@ default: ...@@ -3,6 +3,7 @@ default:
variables: variables:
GIT_STRATEGY: clone # Solve git fetch problem in gitlab-ci.yml GIT_STRATEGY: clone # Solve git fetch problem in gitlab-ci.yml
NPM_CONFIG_REGISTRY: https://registry.npm.taobao.org
stages: stages:
- test - test
...@@ -17,7 +18,7 @@ include: ...@@ -17,7 +18,7 @@ include:
build: build:
stage: build stage: build
script: script:
- npm install - npm install --registry ${NPM_CONFIG_REGISTRY}
- npm run build - npm run build
- mv dist html - mv dist html
artifacts: artifacts:
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册