Skip to content

Commit 71e5c09

Browse files
committed
ci: test against multiple versions of @testing-library/dom
1 parent b6ee176 commit 71e5c09

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/validate.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
strategy:
2323
fail-fast: false
2424
matrix:
25+
testing-library: [8, 9]
2526
eslint: [6.8.0, 6, 7.0.0, 7, 8.0.0, 8]
2627
node: [12.22.0, 12, 14.17.0, 14, 16.0.0, 16]
2728
runs-on: ubuntu-latest
@@ -42,6 +43,9 @@ jobs:
4243
- name: Install ESLint v${{ matrix.eslint }}
4344
run: npm install --no-save --force eslint@${{ matrix.eslint }}
4445

46+
- name: Install @testing-library/dom v${{ matrix.testing-library }}
47+
run: npm install --no-save --force @testing-library/dom@${{ matrix.testing-library }}
48+
4549
- name: ▶️ Run validate script (without linting)
4650
if: ${{ matrix.eslint != 8 }}
4751
run: npm run validate -- build,test:coverage

0 commit comments

Comments
 (0)