diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index ad415ca72..8e2ef210f 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -9,7 +9,7 @@ on: branches: [master] env: - LATEST_NODE_VERSION: 22 + LATEST_NODE_VERSION: 24 APIFY_CLI_DISABLE_TELEMETRY: 1 concurrency: diff --git a/.github/workflows/cucumber.yaml b/.github/workflows/cucumber.yaml index 09f930b6c..525e016b7 100644 --- a/.github/workflows/cucumber.yaml +++ b/.github/workflows/cucumber.yaml @@ -18,7 +18,7 @@ jobs: matrix: os: [ubuntu-latest, windows-2025] # We only test LTS for now - node-version: [22] + node-version: [24] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 99eb5eab5..8c11a2afe 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -25,10 +25,10 @@ jobs: with: token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }} - - name: Use Node.js 22 + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 package-manager-cache: false - name: Enable corepack diff --git a/.github/workflows/pre_release.yaml b/.github/workflows/pre_release.yaml index 0d0d872c1..d842a8a62 100644 --- a/.github/workflows/pre_release.yaml +++ b/.github/workflows/pre_release.yaml @@ -54,10 +54,10 @@ jobs: with: token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }} - - name: Use Node.js 22 + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 registry-url: https://registry.npmjs.org package-manager-cache: false @@ -67,7 +67,7 @@ jobs: corepack prepare yarn@stable --activate git update-index --assume-unchanged .yarnrc.yml - - name: Activate cache for Node.js 22 + - name: Activate cache for Node.js uses: actions/setup-node@v6 with: cache: yarn @@ -123,10 +123,10 @@ jobs: ref: ${{ needs.update_changelog.outputs.changelog_commitish }} fetch-depth: 0 - - name: Use Node.js 22 + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 registry-url: https://registry.npmjs.org package-manager-cache: false @@ -229,10 +229,10 @@ jobs: with: ref: ${{ needs.update_changelog.outputs.changelog_commitish }} - - name: Use Node.js 22 + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 registry-url: https://registry.npmjs.org package-manager-cache: false diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f9a73fef5..0e8c9cd99 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -82,10 +82,10 @@ jobs: with: token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }} - - name: Use Node.js 22 + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 package-manager-cache: false - name: Enable corepack @@ -150,10 +150,10 @@ jobs: ref: ${{ needs.update_changelog.outputs.changelog_commitish }} fetch-depth: 0 - - name: Use Node.js 22 + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 registry-url: https://registry.npmjs.org package-manager-cache: false @@ -254,10 +254,10 @@ jobs: with: ref: ${{ needs.update_changelog.outputs.changelog_commitish }} - - name: Use Node.js 22 + - name: Use Node.js uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 registry-url: https://registry.npmjs.org package-manager-cache: false diff --git a/.nvmrc b/.nvmrc index 442c7587a..9e2934aa3 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -22.20.0 +24.11.1 diff --git a/package.json b/package.json index 55bd5005a..458b24750 100644 --- a/package.json +++ b/package.json @@ -128,7 +128,7 @@ "@types/js-levenshtein": "^1", "@types/lodash.clonedeep": "^4", "@types/mime": "^4.0.0", - "@types/node": "^22.0.0", + "@types/node": "^24.0.0", "@types/semver": "^7.5.8", "@types/which": "^3.0.4", "@yarnpkg/core": "^4.1.2", @@ -147,7 +147,7 @@ "vitest": "^3.0.0" }, "volta": { - "node": "22.20.0", + "node": "24.11.1", "yarn": "4.10.3" }, "packageManager": "yarn@4.10.3", diff --git a/website/package.json b/website/package.json index 513cf60b5..1b0837800 100644 --- a/website/package.json +++ b/website/package.json @@ -41,7 +41,7 @@ "unist-util-visit": "^5.0.0" }, "volta": { - "node": "22.20.0", + "node": "24.11.1", "yarn": "4.10.3" }, "packageManager": "yarn@4.10.3" diff --git a/yarn.lock b/yarn.lock index 2d3fd59b7..566d40958 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1690,12 +1690,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^22.0.0": - version: 22.18.6 - resolution: "@types/node@npm:22.18.6" +"@types/node@npm:^24.0.0": + version: 24.10.1 + resolution: "@types/node@npm:24.10.1" dependencies: - undici-types: "npm:~6.21.0" - checksum: 10c0/7ba190da2e64e56c59270661af8cd682c830a1375b6f965ab153be90baabfdaa867aa1d63f87b42de80956996d46dfe1cf93ecefe982d9a16e485b6756949f9a + undici-types: "npm:~7.16.0" + checksum: 10c0/d6bca7a78f550fbb376f236f92b405d676003a8a09a1b411f55920ef34286ee3ee51f566203920e835478784df52662b5b2af89159d9d319352e9ea21801c002 languageName: node linkType: hard @@ -2325,7 +2325,7 @@ __metadata: "@types/js-levenshtein": "npm:^1" "@types/lodash.clonedeep": "npm:^4" "@types/mime": "npm:^4.0.0" - "@types/node": "npm:^22.0.0" + "@types/node": "npm:^24.0.0" "@types/semver": "npm:^7.5.8" "@types/which": "npm:^3.0.4" "@yarnpkg/core": "npm:^4.1.2" @@ -9087,13 +9087,6 @@ __metadata: languageName: node linkType: hard -"undici-types@npm:~6.21.0": - version: 6.21.0 - resolution: "undici-types@npm:6.21.0" - checksum: 10c0/c01ed51829b10aa72fc3ce64b747f8e74ae9b60eafa19a7b46ef624403508a54c526ffab06a14a26b3120d055e1104d7abe7c9017e83ced038ea5cf52f8d5e04 - languageName: node - linkType: hard - "undici-types@npm:~7.12.0": version: 7.12.0 resolution: "undici-types@npm:7.12.0" @@ -9101,6 +9094,13 @@ __metadata: languageName: node linkType: hard +"undici-types@npm:~7.16.0": + version: 7.16.0 + resolution: "undici-types@npm:7.16.0" + checksum: 10c0/3033e2f2b5c9f1504bdc5934646cb54e37ecaca0f9249c983f7b1fc2e87c6d18399ebb05dc7fd5419e02b2e915f734d872a65da2e3eeed1813951c427d33cc9a + languageName: node + linkType: hard + "unicorn-magic@npm:^0.1.0": version: 0.1.0 resolution: "unicorn-magic@npm:0.1.0"