Skip to content

Commit 5313438

Browse files
authored
Cypress 11 support (#143)
1 parent d280f0e commit 5313438

File tree

4 files changed

+344
-349
lines changed

4 files changed

+344
-349
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
node-version: [12.x, 14.x, 16.x]
19+
cypress-version: [10, 11]
1920

2021
steps:
2122
- uses: actions/checkout@v2
@@ -24,5 +25,6 @@ jobs:
2425
with:
2526
node-version: ${{ matrix.node-version }}
2627
- run: npm ci
28+
- run: npm i cypress@${{ matrix.cypress-version }}
2729
- run: npm run build --if-present
2830
- run: npm test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Test accessibility with [axe-core](https://github.com/dequelabs/axe-core) in [Cy
88

99
1. **Install `cypress-axe` from npm:**
1010

11-
- For Cypress v10 install latest cypress-axe
11+
- For Cypress v10 and above install latest cypress-axe
1212

1313
```sh
1414
npm install --save-dev cypress-axe

0 commit comments

Comments
 (0)