mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-23 21:04:36 -05:00
chore: bump node to version 20 in actions (#51952)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
54a338bfaf
commit
b29c869258
@@ -17,7 +17,7 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [18.x]
|
||||
node-version: [20.x]
|
||||
fail-fast: true
|
||||
|
||||
steps:
|
||||
|
||||
2
.github/workflows/e2e-mobile.yml
vendored
2
.github/workflows/e2e-mobile.yml
vendored
@@ -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
|
||||
|
||||
4
.github/workflows/e2e-playwright.yml
vendored
4
.github/workflows/e2e-playwright.yml
vendored
@@ -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:
|
||||
|
||||
2
.github/workflows/e2e-third-party.yml
vendored
2
.github/workflows/e2e-third-party.yml
vendored
@@ -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
|
||||
|
||||
4
.github/workflows/e2e-web.yml
vendored
4
.github/workflows/e2e-web.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/i18n-validate-builds.yml
vendored
2
.github/workflows/i18n-validate-builds.yml
vendored
@@ -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
|
||||
|
||||
2
.github/workflows/i18n-validate-prs.yml
vendored
2
.github/workflows/i18n-validate-prs.yml
vendored
@@ -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
|
||||
|
||||
10
.github/workflows/node.js-tests.yml
vendored
10
.github/workflows/node.js-tests.yml
vendored
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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` | - |
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"license": "BSD-3-Clause",
|
||||
"private": true,
|
||||
"engines": {
|
||||
"node": ">=16",
|
||||
"node": ">=20",
|
||||
"pnpm": "8"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user