|
|
@ -18,7 +18,6 @@ lint:
|
|
|
|
flow:
|
|
|
|
flow:
|
|
|
|
stage: test
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- yarn install
|
|
|
|
|
|
|
|
- yarn run flow
|
|
|
|
- yarn run flow
|
|
|
|
|
|
|
|
|
|
|
|
unit:
|
|
|
|
unit:
|
|
|
@ -65,6 +64,9 @@ deploy review:
|
|
|
|
GIT_STRATEGY: none
|
|
|
|
GIT_STRATEGY: none
|
|
|
|
dependencies:
|
|
|
|
dependencies:
|
|
|
|
- build development
|
|
|
|
- build development
|
|
|
|
|
|
|
|
environment:
|
|
|
|
|
|
|
|
name: $CI_BUILD_REF_NAME
|
|
|
|
|
|
|
|
url: $BASE_REVIEW_URL/$CI_BUILD_REF_NAME
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- echo "Deploy a review app"
|
|
|
|
- echo "Deploy a review app"
|
|
|
|
- '[ -z "${DEPLOY_BASE_DIR}" ] && echo "Deploy base dir cannot be empty" && exit 255'
|
|
|
|
- '[ -z "${DEPLOY_BASE_DIR}" ] && echo "Deploy base dir cannot be empty" && exit 255'
|
|
|
|