feat(docs): Type check the docs TSX components.
This commit is contained in:
parent
47abbe7925
commit
683991aa93
3 changed files with 26 additions and 2 deletions
13
.github/workflows/doc-checks.yml
vendored
13
.github/workflows/doc-checks.yml
vendored
|
|
@ -31,3 +31,16 @@ jobs:
|
|||
- name: Prettier check
|
||||
run: npm run prettier:check
|
||||
working-directory: docs
|
||||
typecheck:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: bahmutov/npm-install@v1
|
||||
with:
|
||||
working-directory: docs
|
||||
- name: Build
|
||||
run: npm run build
|
||||
working-directory: docs
|
||||
- name: TypeScript check
|
||||
run: npm run typecheck
|
||||
working-directory: docs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue