Commit 1dd3dd39 authored by zhaoxuanchao's avatar zhaoxuanchao
Browse files

Update .gitlab-ci.yml

parent ad526fd2
Pipeline #2601 failed with stages
in 11 seconds
......@@ -7,9 +7,6 @@ cache:
- node_modules/
policy: pull-push
variables:
NODE_MODULES_PATH: /runner-cache/frontend/$CI_COMMIT_SHA/node_modules
stages:
- prepare
- build
......@@ -17,15 +14,15 @@ stages:
install_dependencies:
before_script:
- /bin/bash /var/run/ci/mkdir .sh $NODE_MODULES_PATH
- ln -s $NODE_MODULES_PATH .
- /bin/bash /var/run/ci/mkdir .sh /${CI_COMMIT_SHA}/node_modules
- ln -s /${CI_COMMIT_SHA}/node_modules .
stage: prepare
script:
- yarn install
.build_job:
before_script:
- ln -s $NODE_MODULES_PATH
- ln -s /${CI_COMMIT_SHA}/node_modules
stage: build
script:
- echo "build"
......
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