mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-12 19:25:54 +05:30
Move all operations with crowdin to its own step
This commit is contained in:
parent
5f6c11dddb
commit
2a4be6f1b9
@ -118,7 +118,7 @@ Jest:
|
||||
script:
|
||||
- yarn test
|
||||
|
||||
Crowdin push:
|
||||
Crowdin:
|
||||
stage: test
|
||||
image: $NODE_IMAGE
|
||||
needs:
|
||||
@ -128,10 +128,12 @@ Crowdin push:
|
||||
script:
|
||||
- yarn i18n:extract
|
||||
- yarn i18n:push
|
||||
- yarn i18n:pull
|
||||
artifacts:
|
||||
name: "Source strings for $CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA"
|
||||
name: "i18n for $CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA"
|
||||
paths:
|
||||
- packages/app/i18n/en.json
|
||||
- packages/app/i18n/*.json
|
||||
- packages/app/i18n/index.js
|
||||
expire_in: 1 week
|
||||
|
||||
Cypress:
|
||||
@ -171,13 +173,12 @@ Build:
|
||||
- Lint
|
||||
- TypeScript
|
||||
- Jest
|
||||
- Crowdin push
|
||||
- Crowdin
|
||||
extends:
|
||||
- .yarnCache
|
||||
before_script:
|
||||
- *defineVars
|
||||
script:
|
||||
- yarn i18n:pull
|
||||
- yarn build
|
||||
# Remove unneeded files
|
||||
- rm -rf build/*.css.map
|
||||
@ -200,6 +201,7 @@ Storybook:
|
||||
image: $NODE_IMAGE
|
||||
needs:
|
||||
- Yarn
|
||||
- Crowdin
|
||||
extends:
|
||||
- .yarnCache
|
||||
script:
|
||||
|
Loading…
Reference in New Issue
Block a user