Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
zhaoxuanchao
zxc-antd-demo
Commits
dde1c21f
Commit
dde1c21f
authored
Aug 06, 2021
by
zhaoxuanchao
Browse files
Merge branch 'master' of
http://repo.wolwobiotech.com/zhaoxuanchao/zxc-antd-demo
parents
c8913a4d
d29062b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
15 deletions
+29
-15
.gitlab-ci.yml
.gitlab-ci.yml
+29
-15
No files found.
.gitlab-ci.yml
View file @
dde1c21f
image
:
node:12
cache
:
key
:
${CI_COMMIT_SHA}_node_modules
untracked
:
true
paths
:
-
node_modules/
policy
:
pull-push
stages
:
-
prepare
-
build
-
deploy
before_script
:
-
echo "before_script"
precompiled
:
stage
:
build
tags
:
-
build
install_dependencies
:
stage
:
prepare
script
:
-
echo "Hello precompiled"
# 测试环境
test-env
:
stage
:
deploy
tags
:
-
build
environment
:
name
:
development
-
yarn install --frozen-lockfile
build_code
:
stage
:
build
only
:
-
dev
-
beta
-
production
environment
:
$CI_COMMIT_BRANCH
script
:
-
echo "Hello precompiled"
\ No newline at end of file
-
yarn run build
artifacts
:
name
:
"
${CI_COMMIT_SHA}_build"
untracked
:
true
paths
:
-
build/
expire_in
:
3 hrs
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