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