diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 8a4ecaa..acc2086 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -52,7 +52,7 @@ jobs: - name: Run ESLint run: pnpm lint env: - NODE_OPTIONS: '--max-old-space-size=4096' + NODE_OPTIONS: "--max-old-space-size=4096" types: name: TypeScript @@ -66,3 +66,16 @@ jobs: - name: Run TypeScript type check run: pnpm typecheck + + docs: + name: Docs + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Install + uses: ./.github/composite-actions/install + + - name: Build docs + run: pnpm docs diff --git a/plugin/test-utils.ts b/plugin/test-utils.ts index cd0592b..4656df0 100644 --- a/plugin/test-utils.ts +++ b/plugin/test-utils.ts @@ -1,10 +1,9 @@ //@ts-expect-error import { RuleTester } from 'eslint-docgen' import { RuleTester as ERuleTester } from 'eslint' -import parser from '@typescript-eslint/parser' const baseTesterConfig = { - parser, + parser: require.resolve('@typescript-eslint/parser'), parserOptions: { ecmaVersion: 'latest', sourceType: 'module',