diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index bddffb96..7e4109fe 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -10,9 +10,9 @@ jobs: strategy: matrix: node_version: - - 16 # end of life 2023-09-11 - 18 # end of life 2025-04-30 - - 20 # end of life 2025-04-30 + - 20 # end of life 2026-04-30 + - 22 # end of life 2027-04-03 name: build-lint-test - node ${{ matrix.node_version }} steps: - name: Check out Git repository diff --git a/README.md b/README.md index e9b17340..a4f3809b 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Support for other libraries coming later. [You can help us if you want 😉](#co ## Requirements -- node >= 14 +- node >= 18 - yarn or npm **Node version support:** We aim to support all currently supported node versions (active or maintenance). Currently, we support and run tests in node versions 14, 16 and 18. Please refer to [node release schedule](https://github.com/nodejs/release#release-schedule) for specific dates on when specific node versions will be discontinued (end-of-life). diff --git a/docs/react.md b/docs/react.md index 91532d6e..59cab76b 100644 --- a/docs/react.md +++ b/docs/react.md @@ -12,7 +12,7 @@ nav_order: 20 Requirements: -- node >= 14 (for node v12 use [v1.21.0](https://www.npmjs.com/package/@typeform/embed-react/v/1.21.0)) +- node >= 18 - yarn or npm Add the library to your project using your favourite package manager: @@ -102,11 +102,11 @@ Pass options as props to the component. If the global `__webpack_nonce__` is set, its value will be used for a `nonce` attribute on the inline ` + return