From 5385f84e0aaa56c08bfef5885e430783d04290e7 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Tue, 15 Oct 2024 16:33:17 +0200 Subject: [PATCH] chore(github): split docs typecheck --- .github/workflows/ci-v3.yml | 4 ++++ package.json | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-v3.yml b/.github/workflows/ci-v3.yml index 17dcd64b..c0d92358 100644 --- a/.github/workflows/ci-v3.yml +++ b/.github/workflows/ci-v3.yml @@ -49,6 +49,10 @@ jobs: - name: Typecheck run: pnpm run typecheck + - name: Docs typecheck + run: pnpm run docs:typecheck + continue-on-error: true + - name: Test run: pnpm run test diff --git a/package.json b/package.json index 38f4201a..7835903b 100644 --- a/package.json +++ b/package.json @@ -38,9 +38,10 @@ "docs": "DEV=true nuxi dev docs", "docs:build": "nuxi build docs", "docs:prepare": "nuxt-component-meta docs", + "docs:typecheck": "nuxi typecheck docs", "lint": "eslint .", "lint:fix": "eslint . --fix", - "typecheck": "vue-tsc --noEmit && nuxi typecheck playground && nuxi typecheck docs", + "typecheck": "vue-tsc --noEmit && nuxi typecheck playground", "test": "vitest", "release": "release-it --preRelease=alpha --npm.tag=next" },