From 72dfb33ac85eefc1318db72e52855caba0a847d3 Mon Sep 17 00:00:00 2001 From: eps1lon Date: Sat, 12 Jun 2021 11:20:22 +0200 Subject: [PATCH] feat: Drop support fo r node 10 --- .codesandbox/ci.json | 3 ++- .github/workflows/validate.yml | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.codesandbox/ci.json b/.codesandbox/ci.json index f9286936..f866879a 100644 --- a/.codesandbox/ci.json +++ b/.codesandbox/ci.json @@ -1,3 +1,4 @@ { - "sandboxes": ["new", "github/kentcdodds/react-testing-library-examples"] + "sandboxes": ["new", "github/kentcdodds/react-testing-library-examples"], + "node": "12" } diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index d747c513..191bbcc1 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -17,7 +17,7 @@ jobs: if: ${{ !contains(github.head_ref, 'all-contributors') }} strategy: matrix: - node: [10.13, 12, 14, 16] + node: [12, 14, 16] react: [latest, next, experimental] runs-on: ubuntu-latest steps: diff --git a/package.json b/package.json index 74cbf66d..9eadb089 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "types": "types/index.d.ts", "module": "dist/@testing-library/react.esm.js", "engines": { - "node": ">=10" + "node": ">=12" }, "scripts": { "prebuild": "rimraf dist",