mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-16 21:22:59 +05:30
Add push source strings CI step
This commit is contained in:
parent
7b74d7820c
commit
038c5704ed
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user