Commit ce58ad8d authored by 叶飞's avatar 叶飞

feat: gitlab ci

parent 1f335962
Pipeline #18384 passed with stages
in 2 minutes 29 seconds
......@@ -2,6 +2,9 @@ variables:
DEPLOY_PATH: 'F:/WisdomComponents'
stages:
- init
- bootstrap
- build
- release
before_script:
......@@ -10,6 +13,29 @@ before_script:
- whoami
- node -v
init:
stage: init
script:
- cd /d %DEPLOY_PATH%/src/wisdom-components
- dir
- git pull
- echo 开始安装依赖...
- npm install && echo 安装完成
bootstrap:
stage: bootstrap
script:
- cd /d %DEPLOY_PATH%/src/wisdom-components
- dir
build:
stage: build
script:
- cd /d %DEPLOY_PATH%/src/wisdom-components
- echo 开始打包...
- npm run site
- echo 打包完成
release:
stage: release
script:
......
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