Skip to content

Commit ecf4075

Browse files
committed
fix docs
1 parent 8f811cd commit ecf4075

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.github/workflows/quality.yml

+14-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Run ESLint
5353
run: pnpm lint
5454
env:
55-
NODE_OPTIONS: '--max-old-space-size=4096'
55+
NODE_OPTIONS: "--max-old-space-size=4096"
5656

5757
types:
5858
name: TypeScript
@@ -66,3 +66,16 @@ jobs:
6666

6767
- name: Run TypeScript type check
6868
run: pnpm typecheck
69+
70+
docs:
71+
name: Docs
72+
runs-on: ubuntu-latest
73+
steps:
74+
- name: Checkout
75+
uses: actions/checkout@v4
76+
77+
- name: Install
78+
uses: ./.github/composite-actions/install
79+
80+
- name: Build docs
81+
run: pnpm docs

plugin/test-utils.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
//@ts-expect-error
22
import { RuleTester } from 'eslint-docgen'
33
import { RuleTester as ERuleTester } from 'eslint'
4-
import parser from '@typescript-eslint/parser'
54

65
const baseTesterConfig = {
7-
parser,
6+
parser: require.resolve('@typescript-eslint/parser'),
87
parserOptions: {
98
ecmaVersion: 'latest',
109
sourceType: 'module',

0 commit comments

Comments
 (0)