Skip to content

Commit 42dad78

Browse files
authored
feat: Drop support for node 10 (#930)
BREAKING CHANGE: node 10 is no longer supported. It reached its end-of-life on 30.04.2021.
1 parent c1878a9 commit 42dad78

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.codesandbox/ci.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"sandboxes": ["new", "github/kentcdodds/react-testing-library-examples"]
2+
"sandboxes": ["new", "github/kentcdodds/react-testing-library-examples"],
3+
"node": "12"
34
}

.github/workflows/validate.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
if: ${{ !contains(github.head_ref, 'all-contributors') }}
1818
strategy:
1919
matrix:
20-
node: [10.13, 12, 14, 16]
20+
node: [12, 14, 16]
2121
react: [latest, next, experimental]
2222
runs-on: ubuntu-latest
2323
steps:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"types": "types/index.d.ts",
77
"module": "dist/@testing-library/react.esm.js",
88
"engines": {
9-
"node": ">=10"
9+
"node": ">=12"
1010
},
1111
"scripts": {
1212
"prebuild": "rimraf dist",

0 commit comments

Comments
 (0)