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
1dd3dd39
Commit
1dd3dd39
authored
Aug 11, 2021
by
zhaoxuanchao
Browse files
Update .gitlab-ci.yml
parent
ad526fd2
Pipeline
#2601
failed with stages
in 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
.gitlab-ci.yml
.gitlab-ci.yml
+3
-6
No files found.
.gitlab-ci.yml
View file @
1dd3dd39
...
@@ -7,9 +7,6 @@ cache:
...
@@ -7,9 +7,6 @@ cache:
-
node_modules/
-
node_modules/
policy
:
pull-push
policy
:
pull-push
variables
:
NODE_MODULES_PATH: /runner-cache/frontend/$CI_COMMIT_SHA/node_modules
stages
:
stages
:
-
prepare
-
prepare
-
build
-
build
...
@@ -17,15 +14,15 @@ stages:
...
@@ -17,15 +14,15 @@ stages:
install_dependencies
:
install_dependencies
:
before_script
:
before_script
:
-
/bin/bash /var/run/ci/mkdir .sh
$NODE_MODULES_PATH
-
/bin/bash /var/run/ci/mkdir .sh
/${CI_COMMIT_SHA}/node_modules
-
ln -s
$NODE_MODULES_PATH
.
-
ln -s
/${CI_COMMIT_SHA}/node_modules
.
stage
:
prepare
stage
:
prepare
script
:
script
:
-
yarn install
-
yarn install
.build_job
:
.build_job
:
before_script
:
before_script
:
-
ln -s
$NODE_MODULES_PATH
-
ln -s
/${CI_COMMIT_SHA}/node_modules
stage
:
build
stage
:
build
script
:
script
:
-
echo "build"
-
echo "build"
...
...
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