Skip to content

Commit 39dd228

Browse files
chore: Drop Node 10 support (#623)
BREAKING CHANGE: Node 10 is no longer supported Fixes #621 Co-authored-by: Michaël De Boey <[email protected]>
1 parent 882bcfe commit 39dd228

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/validate.yml

+3-3
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.13, 10, 12, 14, 16]
19+
node: [12.13, 12, 14, 16]
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: 🛑 Cancel Previous Runs
@@ -48,8 +48,8 @@ jobs:
4848
runs-on: ubuntu-latest
4949
if:
5050
${{ github.repository == 'testing-library/react-hooks-testing-library' &&
51-
contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha',
52-
github.ref) && github.event_name == 'push' }}
51+
contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha', github.ref) &&
52+
github.event_name == 'push' }}
5353
steps:
5454
- name: 🛑 Cancel Previous Runs
5555
uses: styfle/[email protected]

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"description": "Simple and complete React hooks testing utilities that encourage good testing practices.",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
7+
"engines": {
8+
"node": ">=12"
9+
},
710
"keywords": [
811
"testing",
912
"react",

0 commit comments

Comments
 (0)