Merge pull request #661 from robintown/i18n-ci

Add i18n CI
This commit is contained in:
Robin 2022-10-24 13:49:13 -04:00 committed by GitHub
commit a4076cd528
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -16,6 +16,8 @@ jobs:
run: "yarn install"
- name: Prettier
run: "yarn run prettier:check"
- name: i18n
run: "yarn run i18n:check"
- name: ESLint
run: "yarn run lint:js"
- name: Type check

View file

@ -12,7 +12,8 @@
"lint": "yarn lint:types && yarn lint:js",
"lint:js": "eslint --max-warnings 0 src",
"lint:types": "tsc",
"i18n": "node_modules/i18next-parser/bin/cli.js"
"i18n": "node_modules/i18next-parser/bin/cli.js",
"i18n:check": "node_modules/i18next-parser/bin/cli.js --fail-on-warnings --fail-on-update"
},
"dependencies": {
"@juggle/resize-observer": "^3.3.1",