diff options
author | Peter Johanson <peter@peterjohanson.com> | 2021-03-29 01:22:05 +0000 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2021-09-11 00:50:36 -0400 |
commit | 683991aa9346a29c265299020a59c0b4c1805926 (patch) | |
tree | 5a8b876db59138758ebcd90e6ef3b0bff68c2ff6 /.github | |
parent | 47abbe7925dece8a50b1001b0b9f32c64268f61b (diff) |
feat(docs): Type check the docs TSX components.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/doc-checks.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/doc-checks.yml b/.github/workflows/doc-checks.yml index b5b278e..a9b2d5a 100644 --- a/.github/workflows/doc-checks.yml +++ b/.github/workflows/doc-checks.yml @@ -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 |