Add i18n CI

This commit is contained in:
Robin Townsend 2022-10-24 10:53:55 -04:00
parent 247ed95976
commit fbf7b5d022
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",