From 038c5704ed6a600f6a5c4a41bc0faf7022424949 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Tue, 9 Jun 2020 21:12:43 +0300 Subject: [PATCH] Add push source strings CI step --- .gitlab-ci.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c82b9c9..ef58044 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -118,6 +118,22 @@ Jest: script: - yarn test +Crowdin push: + stage: test + image: $NODE_IMAGE + needs: + - Yarn + extends: + - .yarnCache + script: + - yarn i18n:extract + - yarn i18n:push + artifacts: + name: "Source strings for $CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA" + paths: + - packages/app/i18n/en.json + expire_in: 1 week + Cypress: stage: test image: $NODE_E2E_IMAGE @@ -155,12 +171,12 @@ Build: - Lint - TypeScript - Jest + - Crowdin push extends: - .yarnCache before_script: - *defineVars script: - - yarn i18n:extract - yarn i18n:pull - yarn build # Remove unneeded files