Skip to content

Commit b674f02

Browse files
chore: add tests for Node 16 (#278)
* chore: add tests for Node 16 * Update package.json * Update testcafe-testing-library.yml Co-authored-by: Ben Monro <ben.monro@gmail.com>
1 parent d284ebe commit b674f02

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/testcafe-testing-library.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest]
16-
node: [14, 12, 10]
16+
node: [10, 12, 14, 16]
1717
browser: ["chrome:headless", "firefox:headless"]
1818
steps:
19-
- uses: actions/setup-node@v1
19+
- uses: actions/setup-node@v2
2020
with:
2121
node-version: ${{ matrix.node }}
22-
- uses: actions/checkout@v1
22+
- uses: actions/checkout@v2
2323
- run: npm install
2424
- run: npm run validate
2525
- name: Run TestCafe Tests
@@ -30,10 +30,10 @@ jobs:
3030
runs-on: ubuntu-latest
3131
needs: test
3232
steps:
33-
- uses: actions/setup-node@v1
33+
- uses: actions/setup-node@v2
3434
with:
35-
node-version: 12
36-
- uses: actions/checkout@v1
35+
node-version: 16
36+
- uses: actions/checkout@v2
3737
- run: npm install
3838
- run: npm run build
3939
- run: ls -asl dist

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,9 @@
4242
"repository": {
4343
"type": "git",
4444
"url": "https://github.com/testing-library/testcafe-testing-library.git"
45+
},
46+
"engines": {
47+
"node": ">=10",
48+
"npm": ">=6"
4549
}
4650
}

0 commit comments

Comments
 (0)