diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 34fadf9050e066fb3f8c2c8877509e41330c44dd..1192552b2a1d7d336dc2eafb138e8e3d55e5e88d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -237,6 +237,9 @@ jobs: - name: Lint fenced code blocks run: yarn doc-fence-check + - name: Lint website docs + run: yarn -s lint-website-docs + - name: Test schema run: yarn test-schema diff --git a/jest.config.ts b/jest.config.ts index 3feb2fcf4cd568afd35fa4890bb4e35a00921063..756ab4b807adbd058c319d098362ca773444dd21 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -200,13 +200,7 @@ const testShards: Record<string, ShardConfig> = { }, }, other: { - matchPaths: ['lib', 'test'], - threshold: { - statements: 91.9, - branches: 90.8, - functions: 83.3, - lines: 92.0, - }, + matchPaths: ['lib'], }, }; diff --git a/package.json b/package.json index d90198bdab5f20d671a77666e3866c2fac3978f4..70556f781b05ec223190d4685ec8bb1e8bcf0a78 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "debug": "cross-env NODE_OPTIONS=--inspect-brk ts-node lib/renovate.ts", "doc-fix": "run-s markdown-lint-fix prettier-fix", "doc-fence-check": "node tools/check-fenced-code.mjs", + "lint-website-docs": "jest --coverage false test/website-docs.spec.ts", "eslint": "eslint . --cache --cache-location .cache/eslint --report-unused-disable-directives", "eslint-fix": "eslint --cache --cache-location .cache/eslint --fix . --report-unused-disable-directives", "eslint-ci": "eslint . --cache --cache-strategy content --cache-location .cache/eslint --format gha",