Commit b1f3c30f authored by 叶飞's avatar 叶飞

feat: gitlab ci

parent 14479a76
Pipeline #18334 failed with stages
in 3 minutes 55 seconds
variables:
DEPLOY_PATH: 'F:/WisdomComponents'
DEPLOY_ORIGIN_PATH: 'E:/GitLabCi/builds'
stages:
- init
- install
- build
- release
before_script:
- chcp 65001
......@@ -12,8 +13,23 @@ before_script:
- node -v
- dir
init:
stage: init
install:
stage: install
script:
- cd /d %DEPLOY_PATH%
- echo 12345
- echo 开始安装依赖...
- lerna bootstrap
- echo 安装完成
build:
stage: build
script:
- echo 开始打包...
- npm run build
- echo 打包完成
release:
stage: release
script:
- echo 开始拷贝发布包...
- robocopy dist ${DEPLOY_PATH}
- echo 发布完成
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment