mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-01-13 23:32:15 +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:
|
script:
|
||||||
- yarn test
|
- yarn test
|
||||||
|
|
||||||
Crowdin push:
|
Crowdin:
|
||||||
stage: test
|
stage: test
|
||||||
image: $NODE_IMAGE
|
image: $NODE_IMAGE
|
||||||
needs:
|
needs:
|
||||||
@ -128,10 +128,12 @@ Crowdin push:
|
|||||||
script:
|
script:
|
||||||
- yarn i18n:extract
|
- yarn i18n:extract
|
||||||
- yarn i18n:push
|
- yarn i18n:push
|
||||||
|
- yarn i18n:pull
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "Source strings for $CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA"
|
name: "i18n for $CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA"
|
||||||
paths:
|
paths:
|
||||||
- packages/app/i18n/en.json
|
- packages/app/i18n/*.json
|
||||||
|
- packages/app/i18n/index.js
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
|
||||||
Cypress:
|
Cypress:
|
||||||
@ -171,13 +173,12 @@ Build:
|
|||||||
- Lint
|
- Lint
|
||||||
- TypeScript
|
- TypeScript
|
||||||
- Jest
|
- Jest
|
||||||
- Crowdin push
|
- Crowdin
|
||||||
extends:
|
extends:
|
||||||
- .yarnCache
|
- .yarnCache
|
||||||
before_script:
|
before_script:
|
||||||
- *defineVars
|
- *defineVars
|
||||||
script:
|
script:
|
||||||
- yarn i18n:pull
|
|
||||||
- yarn build
|
- yarn build
|
||||||
# Remove unneeded files
|
# Remove unneeded files
|
||||||
- rm -rf build/*.css.map
|
- rm -rf build/*.css.map
|
||||||
@ -200,6 +201,7 @@ Storybook:
|
|||||||
image: $NODE_IMAGE
|
image: $NODE_IMAGE
|
||||||
needs:
|
needs:
|
||||||
- Yarn
|
- Yarn
|
||||||
|
- Crowdin
|
||||||
extends:
|
extends:
|
||||||
- .yarnCache
|
- .yarnCache
|
||||||
script:
|
script:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user