Skip to content

Commit

Permalink
feat: add github check to validate i18n string extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
jajjibhai008 committed Jun 21, 2024
1 parent 7480cb0 commit 5bf795c
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 5bf795c

Please sign in to comment.