Add i18n CI
This commit is contained in:
parent
247ed95976
commit
fbf7b5d022
2 changed files with 4 additions and 1 deletions
2
.github/workflows/lint.yaml
vendored
2
.github/workflows/lint.yaml
vendored
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue