diff --git a/.github/workflows/deploy-aws.yml b/.github/workflows/deploy-aws.yml index 487f2806..155fd55c 100644 --- a/.github/workflows/deploy-aws.yml +++ b/.github/workflows/deploy-aws.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 - name: Get yarn cache uses: actions/cache@v5 @@ -31,7 +31,7 @@ jobs: path: | **/node_modules ~/.cache - key: ${{ runner.os }}-node-22-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/**.yml') }} + key: ${{ runner.os }}-node-24-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/**.yml') }} - name: Install Node.js dependencies if: steps.yarn-cache.outputs.cache-hit != 'true' diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index dc797960..a023f1b4 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: node_version: - - 22 # end of life 2027-04-30 # used in SonarCloud scan + - 24 # end of life 2028-04-30 # used in SonarCloud scan name: build-lint-test - node ${{ matrix.node_version }} steps: - name: Check out Git repository @@ -61,7 +61,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 - name: Get yarn cache uses: actions/cache@v5 @@ -70,7 +70,7 @@ jobs: path: | **/node_modules ~/.cache - key: ${{ runner.os }}-repo-${{ github.event.pull_request.head.repo.full_name }}-node-22-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/**.yml') }} + key: ${{ runner.os }}-repo-${{ github.event.pull_request.head.repo.full_name }}-node-24-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/**.yml') }} - name: Install Node.js dependencies if: steps.yarn-cache.outputs.cache-hit != 'true' @@ -93,7 +93,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 - name: Get yarn cache uses: actions/cache@v5 @@ -102,7 +102,7 @@ jobs: path: | **/node_modules ~/.cache - key: ${{ runner.os }}-repo-${{ github.event.pull_request.head.repo.full_name }}-node-22-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/**.yml') }} + key: ${{ runner.os }}-repo-${{ github.event.pull_request.head.repo.full_name }}-node-24-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/**.yml') }} - name: Install Node.js dependencies if: steps.yarn-cache.outputs.cache-hit != 'true' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index da977ea6..9d8d4daf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 - name: Get yarn cache uses: actions/cache@v5 @@ -33,7 +33,7 @@ jobs: path: | **/node_modules ~/.cache - key: ${{ runner.os }}-node-22-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/**.yml') }} + key: ${{ runner.os }}-node-24-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/**.yml') }} - name: Install Node.js dependencies if: steps.yarn-cache.outputs.cache-hit != 'true' diff --git a/.github/workflows/visual.yml b/.github/workflows/visual.yml index 85f12218..72410829 100644 --- a/.github/workflows/visual.yml +++ b/.github/workflows/visual.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 - name: Get yarn cache uses: actions/cache@v5 @@ -27,7 +27,7 @@ jobs: path: | **/node_modules ~/.cache - key: ${{ runner.os }}-repo-${{ github.event.pull_request.head.repo.full_name }}-node-22-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/**.yml') }} + key: ${{ runner.os }}-repo-${{ github.event.pull_request.head.repo.full_name }}-node-24-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('.github/workflows/**.yml') }} - name: Install Node.js dependencies if: steps.yarn-cache.outputs.cache-hit != 'true' diff --git a/package.json b/package.json index e30a8420..d267b6ba 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "private": true, "engines": { - "node": ">=12" + "node": ">=18" }, "scripts": { "postinstall": "yarn lerna bootstrap", diff --git a/packages/embed-react/package.json b/packages/embed-react/package.json index 586091da..14b1c5da 100644 --- a/packages/embed-react/package.json +++ b/packages/embed-react/package.json @@ -6,7 +6,7 @@ "author": "Typeform", "license": "MIT", "engines": { - "node": ">=10" + "node": ">=18" }, "scripts": { "clean": "rm -rf ./build", diff --git a/packages/embed/package.json b/packages/embed/package.json index 6515e2dc..e332fdd6 100644 --- a/packages/embed/package.json +++ b/packages/embed/package.json @@ -22,7 +22,7 @@ "popover" ], "engines": { - "node": ">=10" + "node": ">=18" }, "scripts": { "clean": "rm -rf ./build ./build-aws ./types",