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"
|
||||
working-directory: "front"
|
||||
|
||||
- name: "Typecheck"
|
||||
run: yarn run typecheck
|
||||
working-directory: "front"
|
||||
|
||||
- name: "Svelte check"
|
||||
run: yarn run svelte-check
|
||||
working-directory: "front"
|
||||
@ -165,4 +169,3 @@ jobs:
|
||||
- name: "Prettier"
|
||||
run: yarn run pretty-check
|
||||
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\"",
|
||||
"pretty": "yarn prettier --write 'src/**/*.{ts,svelte}'",
|
||||
"pretty-check": "yarn prettier --check 'src/**/*.{ts,svelte}'",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"typesafe-i18n": "typesafe-i18n --no-watch"
|
||||
},
|
||||
"lint-staged": {
|
||||
|
Loading…
Reference in New Issue
Block a user