Skip to content

Commit fa3b91c

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

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": ["github/kentcdodds/react-testing-library-examples"]
2+
"sandboxes": ["github/kentcdodds/react-testing-library-examples"],
3+
"node": "12"
34
}

.github/workflows/validate.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
if: ${{ !contains(github.head_ref, 'all-contributors') }}
1717
strategy:
1818
matrix:
19-
node: [10.14.2, 12, 14, 15, 16]
19+
node: [12, 14, 16]
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: 🛑 Cancel Previous Runs

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"author": "Kent C. Dodds <[email protected]> (https://kentcdodds.com)",
2222
"license": "MIT",
2323
"engines": {
24-
"node": ">=10"
24+
"node": ">=12"
2525
},
2626
"scripts": {
2727
"build": "kcd-scripts build --no-ts-defs --ignore \"**/__tests__/**,**/__node_tests__/**,**/__mocks__/**\" && kcd-scripts build --no-ts-defs --bundle --no-clean",

0 commit comments

Comments
 (0)