diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 21868c18..0144c34c 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.13, 10, 12, 14, 16] + node: [12.13, 12, 14, 16] runs-on: ubuntu-latest steps: - name: 🛑 Cancel Previous Runs @@ -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/cancel-workflow-action@0.9.0 diff --git a/package.json b/package.json index ac24e3dc..a5c59b79 100644 --- a/package.json +++ b/package.json @@ -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",