Skip to content

Commit

Permalink
chore: Drop Node 10 support (#623)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Node 10 is no longer supported


Fixes #621

Co-authored-by: Michaël De Boey <[email protected]>
  • Loading branch information
mpeyper and MichaelDeBoey authored May 18, 2021
1 parent 882bcfe commit 39dd228
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
if: ${{ !contains(github.head_ref, 'all-contributors') }}
strategy:
matrix:
node: [10.13, 10, 12, 14, 16]
node: [12.13, 12, 14, 16]
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
Expand Down Expand Up @@ -48,8 +48,8 @@ jobs:
runs-on: ubuntu-latest
if:
${{ github.repository == 'testing-library/react-hooks-testing-library' &&
contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha',
github.ref) && github.event_name == 'push' }}
contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha', github.ref) &&
github.event_name == 'push' }}
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/[email protected]
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"description": "Simple and complete React hooks testing utilities that encourage good testing practices.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"engines": {
"node": ">=12"
},
"keywords": [
"testing",
"react",
Expand Down

0 comments on commit 39dd228

Please sign in to comment.