Commit b1f3c30f authored by 叶飞's avatar 叶飞

feat: gitlab ci

parent 14479a76
Pipeline #18334 failed with stages
in 3 minutes 55 seconds
variables: variables:
DEPLOY_PATH: 'F:/WisdomComponents' DEPLOY_PATH: 'F:/WisdomComponents'
DEPLOY_ORIGIN_PATH: 'E:/GitLabCi/builds'
stages: stages:
- init - install
- build
- release
before_script: before_script:
- chcp 65001 - chcp 65001
...@@ -12,8 +13,23 @@ before_script: ...@@ -12,8 +13,23 @@ before_script:
- node -v - node -v
- dir - dir
init: install:
stage: init stage: install
script: script:
- cd /d %DEPLOY_PATH% - echo 开始安装依赖...
- echo 12345 - 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