Commit 3feb371b authored by zhaoxuanchao's avatar zhaoxuanchao
Browse files
parents c598b53d 393728b9
Pipeline #2454 failed with stages
in 1 minute and 29 seconds
image: node:12 image: node:12
cache:
key: ${CI_COMMIT_SHA}_node_modules
untracked: true
paths:
- node_modules/
policy: pull-push
stages: stages:
- prepare - prepare
- build - build
...@@ -15,20 +8,9 @@ stages: ...@@ -15,20 +8,9 @@ stages:
install_dependencies: install_dependencies:
stage: prepare stage: prepare
script: script:
- yarn install --frozen-lockfile - yarn install
build_code: build_code:
stage: build stage: build
only:
- dev
- beta
- production
environment: $CI_COMMIT_BRANCH
script: script:
- yarn run build - yarn run build
artifacts:
name: "${CI_COMMIT_SHA}_build"
untracked: true
paths:
- build/
expire_in: 3 hrs
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