Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
wisdom-components
Commits
b1f3c30f
Commit
b1f3c30f
authored
Oct 30, 2020
by
叶飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: gitlab ci
parent
14479a76
Pipeline
#18334
failed with stages
in 3 minutes 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
6 deletions
+22
-6
.gitlab-ci.yml
.gitlab-ci.yml
+22
-6
No files found.
.gitlab-ci.yml
View file @
b1f3c30f
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
in
it
:
stage
:
in
it
in
stall
:
stage
:
in
stall
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 发布完成
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment