We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47d1d8f commit e707820Copy full SHA for e707820
.github/workflows/eslint-version-compatibility.yml
@@ -0,0 +1,29 @@
1
+name: ESLint Compatibility Tests
2
+
3
+on: [push, pull_request]
4
5
+jobs:
6
+ eslint-test:
7
+ runs-on: ubuntu-latest
8
9
+ strategy:
10
+ matrix:
11
+ eslint-version: [8, 9] # Test with ESLint v8 and v9
12
13
+ steps:
14
+ - name: Checkout repository
15
+ uses: actions/checkout@v3
16
17
+ - name: Set up Node.js
18
+ uses: actions/setup-node@v3
19
+ with:
20
+ node-version: '22' # Use Node.js 16 for compatibility; adjust if necessary
21
22
+ - name: Install dependencies
23
+ run: npm ci
24
25
+ - name: Install Specific ESLint Version
26
+ run: npm install eslint@${{ matrix.eslint-version }} # Install ESLint based on matrix version
27
28
+ - name: Run Tests
29
+ run: npm run test
0 commit comments