Explorar el Código

Upgrade Node.js to v20.19.2 for security enhancements (#4212)

This commit upgrades Node.js version from v20.18.1 to v20.19.2.

This version incorporates security patches that address known
vulnerabilities, improving the overall security posture.

Co-authored-by: Peter Dave Hello <[email protected]>
Matt Rubens hace 7 meses
padre
commit
7cd89edaa4

+ 1 - 1
.github/workflows/changeset-release.yml

@@ -9,7 +9,7 @@ on:
 env:
   REPO_PATH: ${{ github.repository }}
   GIT_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || 'main' }}
-  NODE_VERSION: 20.18.1
+  NODE_VERSION: 20.19.2
   PNPM_VERSION: 10.8.1
 
 jobs:

+ 1 - 1
.github/workflows/code-qa.yml

@@ -9,7 +9,7 @@ on:
     branches: [main]
 
 env:
-  NODE_VERSION: 20.18.1
+  NODE_VERSION: 20.19.2
   PNPM_VERSION: 10.8.1
 
 jobs:

+ 1 - 1
.github/workflows/marketplace-publish.yml

@@ -7,7 +7,7 @@ on:
 
 env:
   GIT_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || 'main' }}
-  NODE_VERSION: 20.18.1
+  NODE_VERSION: 20.19.2
   PNPM_VERSION: 10.8.1
 
 jobs:

+ 1 - 1
.github/workflows/nightly-publish.yml

@@ -9,7 +9,7 @@ on:
   workflow_dispatch: # Allows manual triggering.
 
 env:
-  NODE_VERSION: 20.18.1
+  NODE_VERSION: 20.19.2
   PNPM_VERSION: 10.8.1
 
 jobs:

+ 1 - 1
.github/workflows/update-contributors.yml

@@ -7,7 +7,7 @@ on:
   workflow_dispatch:  # Allows manual triggering
 
 env:
-  NODE_VERSION: 20.18.1
+  NODE_VERSION: 20.19.2
   PNPM_VERSION: 10.8.1
 
 jobs:

+ 1 - 1
.nvmrc

@@ -1 +1 @@
-20.19.2
+v20.19.2

+ 3 - 3
evals/scripts/setup.sh

@@ -176,8 +176,8 @@ for i in "${!options[@]}"; do
   case "${plugin}" in
   "nodejs")
     if ! command -v node &>/dev/null; then
-      asdf install nodejs 20.18.1 || exit 1
-      asdf set nodejs 20.18.1 || exit 1
+      asdf install nodejs 20.19.2 || exit 1
+      asdf set nodejs 20.19.2 || exit 1
       NODE_VERSION=$(node --version)
       echo "✅ Node.js is installed ($NODE_VERSION)"
     else
@@ -185,7 +185,7 @@ for i in "${!options[@]}"; do
       echo "✅ Node.js is installed ($NODE_VERSION)"
     fi
 
-    if [[ $(node --version) != "v20.18.1" ]]; then
+    if [[ $(node --version) != "v20.19.2" ]]; then
       NODE_VERSION=$(node --version)
       echo "🚨 You have the wrong version of node installed ($NODE_VERSION)."
       echo "💡 If you are using nvm then run 'nvm install' to install the version specified by the repo's .nvmrc."