add typecheck script
This commit is contained in:
parent
2e115efdc5
commit
faf6be889e
5
.github/workflows/continuous_integration.yml
vendored
5
.github/workflows/continuous_integration.yml
vendored
@ -56,6 +56,10 @@ jobs:
|
|||||||
ADMIN_URL: "//localhost:80"
|
ADMIN_URL: "//localhost:80"
|
||||||
working-directory: "front"
|
working-directory: "front"
|
||||||
|
|
||||||
|
- name: "Typecheck"
|
||||||
|
run: yarn run typecheck
|
||||||
|
working-directory: "front"
|
||||||
|
|
||||||
- name: "Svelte check"
|
- name: "Svelte check"
|
||||||
run: yarn run svelte-check
|
run: yarn run svelte-check
|
||||||
working-directory: "front"
|
working-directory: "front"
|
||||||
@ -165,4 +169,3 @@ jobs:
|
|||||||
- name: "Prettier"
|
- name: "Prettier"
|
||||||
run: yarn run pretty-check
|
run: yarn run pretty-check
|
||||||
working-directory: "back"
|
working-directory: "back"
|
||||||
|
|
||||||
|
@ -76,6 +76,7 @@
|
|||||||
"svelte-check": "svelte-check --fail-on-warnings --fail-on-hints --compiler-warnings \"a11y-no-onchange:ignore,a11y-autofocus:ignore,a11y-media-has-caption:ignore\"",
|
"svelte-check": "svelte-check --fail-on-warnings --fail-on-hints --compiler-warnings \"a11y-no-onchange:ignore,a11y-autofocus:ignore,a11y-media-has-caption:ignore\"",
|
||||||
"pretty": "yarn prettier --write 'src/**/*.{ts,svelte}'",
|
"pretty": "yarn prettier --write 'src/**/*.{ts,svelte}'",
|
||||||
"pretty-check": "yarn prettier --check 'src/**/*.{ts,svelte}'",
|
"pretty-check": "yarn prettier --check 'src/**/*.{ts,svelte}'",
|
||||||
|
"typecheck": "tsc --noEmit",
|
||||||
"typesafe-i18n": "typesafe-i18n --no-watch"
|
"typesafe-i18n": "typesafe-i18n --no-watch"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
|
Loading…
Reference in New Issue
Block a user