File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -79,10 +79,17 @@ jobs:
7979 run : npm install
8080
8181 - name : Compile Updated translations
82- run : |
83- npm run locale
84- (git add . && git commit -m "Compiled Translations" && git push origin ${{ env.localization_branch_name }}) || true
82+ run : npm run locale
83+
84+ - name : Format translations
85+ run : npx prettier --write --ignore-path .gitignore --ignore-path .prettierignore i18n/
8586
8687 - name : Validate translations
8788 run : |
8889 npm run validate:translations || (echo "Translation validation failed. Please check the errors above." && exit 1)
90+
91+ - name : Commit and push formatted and compiled translations
92+ run : |
93+ git add .
94+ git commit -m "Format and compile translations" || true
95+ git push origin ${{ env.localization_branch_name }} || true
You can’t perform that action at this time.
0 commit comments