Adding svelte-check to the build process

Type checking in Svelte was not enabled (because we were not running svelte-check).
This PR adds:

- run svelte-check in watch mode in development
- run svelte-check in CI
This commit is contained in:
David Négrier 2021-06-15 18:08:16 +02:00
parent 7e9506874c
commit 085a4d41fd
3 changed files with 201 additions and 11 deletions

View file

@ -52,6 +52,10 @@ jobs:
PUSHER_URL: "//localhost:8080"
working-directory: "front"
- name: "Svelte check"
run: yarn run svelte-check
working-directory: "front"
- name: "Lint"
run: yarn run lint
working-directory: "front"