mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
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 <hsu@peterdavehello.org>
This commit is contained in:
parent
03754f615d
commit
7cd89edaa4
7 changed files with 9 additions and 9 deletions
2
.github/workflows/changeset-release.yml
vendored
2
.github/workflows/changeset-release.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
2
.github/workflows/code-qa.yml
vendored
2
.github/workflows/code-qa.yml
vendored
|
|
@ -9,7 +9,7 @@ on:
|
|||
branches: [main]
|
||||
|
||||
env:
|
||||
NODE_VERSION: 20.18.1
|
||||
NODE_VERSION: 20.19.2
|
||||
PNPM_VERSION: 10.8.1
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
2
.github/workflows/marketplace-publish.yml
vendored
2
.github/workflows/marketplace-publish.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
2
.github/workflows/nightly-publish.yml
vendored
2
.github/workflows/nightly-publish.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
2
.github/workflows/update-contributors.yml
vendored
2
.github/workflows/update-contributors.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
2
.nvmrc
2
.nvmrc
|
|
@ -1 +1 @@
|
|||
20.19.2
|
||||
v20.19.2
|
||||
|
|
|
|||
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue