Commit 40ab17ef authored by zhaoxuanchao's avatar zhaoxuanchao
Browse files

Update .gitlab-ci.yml

parent 1edf796e
Pipeline #2554 failed with stages
in 5 minutes and 19 seconds
......@@ -18,15 +18,28 @@ install_dependencies:
script:
- yarn install
build_code:
.build_job:
stage: build
environment: $CI_COMMIT_BRANCH
image: node:12
script:
- yarn run build
- echo "build"
- yarn build
artifacts:
name: "${CI_COMMIT_SHA}_build"
untracked: true
paths:
- build/
expire_in: 3 hrs
untracked: false
expire_in: 30 days
build_1:
extends: .build_job
build_2:
extends: .build_job
build_3:
extends: .build_job
build_4:
extends: .build_job
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