Remove localization feature flag and improve CI workflow (#10208)
This commit is contained in:
7
.github/workflows/i18n-push.yaml
vendored
7
.github/workflows/i18n-push.yaml
vendored
@ -28,6 +28,7 @@ jobs:
|
||||
if ! git ls-remote --heads origin i18n | grep i18n; then
|
||||
git checkout -b i18n
|
||||
else
|
||||
git fetch origin i18n
|
||||
git checkout i18n
|
||||
git merge origin/main
|
||||
fi
|
||||
@ -44,6 +45,12 @@ jobs:
|
||||
npx nx run twenty-emails:lingui:extract
|
||||
npx nx run twenty-front:lingui:extract
|
||||
|
||||
- name: Compile translations
|
||||
run: |
|
||||
npx nx run twenty-server:lingui:compile
|
||||
npx nx run twenty-emails:lingui:compile
|
||||
npx nx run twenty-front:lingui:compile
|
||||
|
||||
- name: Check and commit any files created
|
||||
id: check_changes
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user