diff --git a/.github/workflows/crowdin-download.curriculum.yml b/.github/workflows/crowdin-download.curriculum.yml index e787237f299..d1887151b10 100644 --- a/.github/workflows/crowdin-download.curriculum.yml +++ b/.github/workflows/crowdin-download.curriculum.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [18.x] + node-version: [20.x] fail-fast: true steps: diff --git a/.github/workflows/e2e-mobile.yml b/.github/workflows/e2e-mobile.yml index 3c8aa8ee02e..48a3a687b9b 100644 --- a/.github/workflows/e2e-mobile.yml +++ b/.github/workflows/e2e-mobile.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - name: Checkout Source Files diff --git a/.github/workflows/e2e-playwright.yml b/.github/workflows/e2e-playwright.yml index 730efd0b4c4..b109bf101ce 100644 --- a/.github/workflows/e2e-playwright.yml +++ b/.github/workflows/e2e-playwright.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - name: Checkout Source Files @@ -78,7 +78,7 @@ jobs: fail-fast: false matrix: browsers: [chromium, firefox, webkit] - node-version: [18.x] + node-version: [20.x] services: mongodb: diff --git a/.github/workflows/e2e-third-party.yml b/.github/workflows/e2e-third-party.yml index cf489ad364b..6c97c200273 100644 --- a/.github/workflows/e2e-third-party.yml +++ b/.github/workflows/e2e-third-party.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [18.x] + node-version: [20.x] services: mongodb: image: mongo:4.4 diff --git a/.github/workflows/e2e-web.yml b/.github/workflows/e2e-web.yml index 89701c2475b..39ce7f9deb8 100644 --- a/.github/workflows/e2e-web.yml +++ b/.github/workflows/e2e-web.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - name: Checkout Source Files @@ -78,7 +78,7 @@ jobs: fail-fast: false matrix: browsers: [chrome, firefox, electron] - node-version: [18.x] + node-version: [20.x] include: - browsers: electron spec: cypress/e2e/default/learn/challenges/projects.ts diff --git a/.github/workflows/i18n-validate-builds.yml b/.github/workflows/i18n-validate-builds.yml index 4bbac2cc227..71ea0b71148 100644 --- a/.github/workflows/i18n-validate-builds.yml +++ b/.github/workflows/i18n-validate-builds.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - name: Checkout Source Files diff --git a/.github/workflows/i18n-validate-prs.yml b/.github/workflows/i18n-validate-prs.yml index 7a26c9e519b..d0810fcb8b7 100644 --- a/.github/workflows/i18n-validate-prs.yml +++ b/.github/workflows/i18n-validate-prs.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - name: Checkout Source Files diff --git a/.github/workflows/node.js-tests.yml b/.github/workflows/node.js-tests.yml index 6bfcd52dc14..9938f902f6b 100644 --- a/.github/workflows/node.js-tests.yml +++ b/.github/workflows/node.js-tests.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [18.x] + node-version: [20.x] fail-fast: false steps: @@ -78,7 +78,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - name: Checkout Source Files @@ -111,7 +111,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [18.x] + node-version: [20.x] steps: - name: Checkout Source Files @@ -158,7 +158,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [18.x] + node-version: [20.x] steps: - name: Checkout Source Files @@ -207,7 +207,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [18.x] + node-version: [20.x] locale: [portuguese, italian] steps: diff --git a/.github/workflows/temporary-container-checks.yml b/.github/workflows/temporary-container-checks.yml index 6237326a86c..41d5b75d16b 100644 --- a/.github/workflows/temporary-container-checks.yml +++ b/.github/workflows/temporary-container-checks.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - name: Checkout Source Files @@ -76,7 +76,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - name: Checkout Source Files @@ -102,7 +102,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [18.x] + node-version: [20.x] steps: - name: Checkout Source Files @@ -123,7 +123,7 @@ jobs: matrix: # To avoid wasting resources we're only using chrome for now. browsers: [chrome] - node-version: [18.x] + node-version: [20.x] steps: - name: Set Action Environment Variables diff --git a/docs/how-to-setup-freecodecamp-locally.md b/docs/how-to-setup-freecodecamp-locally.md index e386f9d2fed..99d33e47623 100644 --- a/docs/how-to-setup-freecodecamp-locally.md +++ b/docs/how-to-setup-freecodecamp-locally.md @@ -70,7 +70,7 @@ We primarily support development on Linux and Unix-based systems like Ubuntu and | Prerequisite | Version | Notes | | --------------------------------------------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------- | -| [Node.js](http://nodejs.org) | `18.x` | We use the "Active LTS" version, See [LTS Schedule](https://nodejs.org/en/about/releases/). | +| [Node.js](http://nodejs.org) | `20.x` | We use the "Active LTS" version, See [LTS Schedule](https://nodejs.org/en/about/releases/). | | [pnpm](https://pnpm.io/installation) | `8.x` | - | | [MongoDB Community Server](https://docs.mongodb.com/manual/administration/install-community/) | `5.0.x` | - | diff --git a/package.json b/package.json index 48278a660f7..9dcf5b61540 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "license": "BSD-3-Clause", "private": true, "engines": { - "node": ">=16", + "node": ">=20", "pnpm": "8" }, "repository": {