From 683991aa9346a29c265299020a59c0b4c1805926 Mon Sep 17 00:00:00 2001 From: Peter Johanson Date: Mon, 29 Mar 2021 01:22:05 +0000 Subject: feat(docs): Type check the docs TSX components. --- .github/workflows/doc-checks.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to '.github/workflows') 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 -- cgit v1.2.3