8000 test(eslint-plugin): install multiple eslint versions to test matrix · esetnik/typescript-eslint@2c86dc5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c86dc5

Browse files
committed
test(eslint-plugin): install multiple eslint versions to test matrix
1 parent ffdfade commit 2c86dc5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ jobs:
234234
strategy:
235235
matrix:
236236
node-version: [10.x, 14.x]
237+
eslint-version: [5, 6, 7]
237238
steps:
238239
- uses: actions/checkout@v2
239240
- name: Use Node.js ${{ matrix.node-version }}
@@ -294,7 +295,9 @@ jobs:
294295
CI: true
295296

296297
- name: Run unit tests for eslint-plugin
297-
run: yarn test
298+
run: |
299+
yarn lerna add -D eslint@${{ matrix.eslint-version}} packages/eslint-plugin
300+
yarn test
298301
working-directory: packages/eslint-plugin
299302
env:
300303
CI: true

0 commit comments

Comments
 (0)
0