Skip to content

Commit acd48d9

Browse files
committed
fix ci
1 parent 8a3d04e commit acd48d9

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

.github/workflows/CI.yml

+24-4
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ jobs:
4040
- eslint: 9
4141
node: 'lts/*'
4242
os: macos-latest
43-
# On old ESLint versions
44-
- eslint: 8
45-
node: 'lts/*'
46-
os: ubuntu-latest
4743

4844
runs-on: ${{ matrix.os }}
4945
steps:
@@ -63,6 +59,30 @@ jobs:
6359
run: npm run -s build
6460
- name: Test
6561
run: npm run -s test:mocha
62+
test-for-old-eslint:
63+
name: Test
64+
strategy:
65+
matrix:
66+
eslint: [8]
67+
node: ['lts/*']
68+
os: [ubuntu-latest]
69+
70+
runs-on: ${{ matrix.os }}
71+
steps:
72+
- name: Checkout
73+
uses: actions/checkout@v4
74+
- name: Checkout submodules
75+
run: git submodule update --init
76+
- name: Install Node.js v${{ matrix.node }}
77+
uses: actions/setup-node@v4
78+
with:
79+
node-version: ${{ matrix.node }}
80+
- name: Install Packages
81+
run: npm install -f
82+
- name: Install ESLint v${{ matrix.eslint }}
83+
run: node scripts/ci-install-eslint ${{ matrix.eslint }}
84+
- name: Test
85+
run: npm run -s test:debug
6686

6787
test-cov:
6888
name: Test and Send Coverage

0 commit comments

Comments
 (0)