Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0d85f6c

Browse files
mpeyperMichaelDeBoey
andcommitted
chore: Drop Node 10 support
BREAKING CHANGE: Node 10 is no longer supported Fixes #621 Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
1 parent 882bcfe commit 0d85f6c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

‎.github/workflows/validate.yml

Lines changed: 3 additions & 3 deletions
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/cancel-workflow-action@0.9.0

‎package.json

Lines changed: 3 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /