Skip to content

Commit 98e9f2e

Browse files
committed
Add test job for old ESLint Stylistic versions
1 parent df0921c commit 98e9f2e

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/CI.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,24 @@ jobs:
7676
- name: Test
7777
run: npm test
7878

79+
test-with-old-eslint-stylistic:
80+
name: Test with old ESLint Stylistic
81+
strategy:
82+
matrix:
83+
stylistic: [2, 3, 4]
84+
runs-on: ubuntu-latest
85+
steps:
86+
- name: Checkout
87+
uses: actions/checkout@v4
88+
- name: Install Node.js
89+
uses: actions/setup-node@v4
90+
- name: Install Packages
91+
run: npm install
92+
- name: Install @stylistic/eslint-plugin v${{ matrix.stylistic }}
93+
run: npm install -D @stylistic/eslint-plugin@${{ matrix.stylistic }} -f
94+
- name: Test
95+
run: npm test
96+
7997
test-with-typescript-eslint-v7:
8098
name: Test with typescript-eslint v7
8199
runs-on: ubuntu-latest
@@ -86,7 +104,7 @@ jobs:
86104
uses: actions/setup-node@v4
87105
- name: Install Packages
88106
run: npm install
89-
- name: Install @typescript-eslint/parser@7
107+
- name: Install @typescript-eslint/parser v7
90108
run: npm install -D @typescript-eslint/parser@7 -f
91109
- name: Test
92110
run: npm test

0 commit comments

Comments
 (0)