From fa3b91cbd47d3351ca3e9da75eb02ea14778b860 Mon Sep 17 00:00:00 2001 From: Sebastian Silbermann Date: Sat, 12 Jun 2021 11:39:35 +0200 Subject: [PATCH] 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. --- .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 36f65be2..48600aa2 100644 --- a/.codesandbox/ci.json +++ b/.codesandbox/ci.json @@ -1,3 +1,4 @@ { - "sandboxes": ["github/kentcdodds/react-testing-library-examples"] + "sandboxes": ["github/kentcdodds/react-testing-library-examples"], + "node": "12" } diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index a937c57d..8c9ec07e 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -16,7 +16,7 @@ jobs: if: ${{ !contains(github.head_ref, 'all-contributors') }} strategy: matrix: - node: [10.14.2, 12, 14, 15, 16] + node: [12, 14, 16] runs-on: ubuntu-latest steps: - name: 🛑 Cancel Previous Runs diff --git a/package.json b/package.json index f0d8c0a5..78ddf6c9 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "author": "Kent C. Dodds (https://kentcdodds.com)", "license": "MIT", "engines": { - "node": ">=10" + "node": ">=12" }, "scripts": { "build": "kcd-scripts build --no-ts-defs --ignore \"**/__tests__/**,**/__node_tests__/**,**/__mocks__/**\" && kcd-scripts build --no-ts-defs --bundle --no-clean",