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" run: "yarn install"
- name: Prettier - name: Prettier
run: "yarn run prettier:check" run: "yarn run prettier:check"
- name: i18n
run: "yarn run i18n:check"
- name: ESLint - name: ESLint
run: "yarn run lint:js" run: "yarn run lint:js"
- name: Type check - name: Type check

View file

@ -12,7 +12,8 @@
"lint": "yarn lint:types && yarn lint:js", "lint": "yarn lint:types && yarn lint:js",
"lint:js": "eslint --max-warnings 0 src", "lint:js": "eslint --max-warnings 0 src",
"lint:types": "tsc", "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": { "dependencies": {
"@juggle/resize-observer": "^3.3.1", "@juggle/resize-observer": "^3.3.1",