Add push source strings CI step

This commit is contained in:
ErickSkrauch 2020-06-09 21:12:43 +03:00
parent 7b74d7820c
commit 038c5704ed
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E

View File

@ -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