Skip to content

Commit

Permalink
Merge pull request #1255 from openedx/eahmadjaved/ENT-9005
Browse files Browse the repository at this point in the history
feat: add github check to validate i18n string extraction
  • Loading branch information
jajjibhai008 authored Jun 21, 2024
2 parents 7480cb0 + 5bf795c commit a29388e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
run: npm ci
- name: Lint
run: npm run lint
- name: extract_translations
run: make extract_translations
- name: Test
run: npm run test
- name: Coverage
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"scripts": {
"build": "fedx-scripts webpack",
"i18n_extract": "fedx-scripts formatjs extract",
"i18n_extract": "fedx-scripts formatjs extract --throws",
"build:with-theme": "THEME=npm:@edx/brand-edx.org@latest npm run install-theme && fedx-scripts webpack",
"check-types": "tsc --noemit",
"lint": "fedx-scripts eslint --ext .js --ext .jsx .; npm run check-types",
Expand Down

0 comments on commit a29388e

Please sign in to comment.