From 7ae93522a4ecfed0516172754034ed42bac21532 Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Sun, 24 Mar 2024 18:00:07 -0500 Subject: [PATCH] Update to node 18 --- .github/workflows/code-scanning.yml | 2 +- .github/workflows/pr.yml | 2 +- .github/workflows/single-matrix-pr.yml | 2 +- .nvmrc | 2 +- README.md | 2 +- docs/getting_started_wsl2.md | 2 +- script/build/debian/node.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/code-scanning.yml b/.github/workflows/code-scanning.yml index b858e9ecb..14b409030 100644 --- a/.github/workflows/code-scanning.yml +++ b/.github/workflows/code-scanning.yml @@ -11,7 +11,7 @@ concurrency: cancel-in-progress: true env: # this version used for running various tools - tool_node_version: "16.x" + tool_node_version: "18.x" tool_ruby_version: "2.7.8" jobs: eslint: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index fdb1d4e58..a4268c3a6 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -18,5 +18,5 @@ jobs: matrix: os: [ubuntu-20.04] ruby: [2.7.8] - node: [16.x] + node: [18.x] diff --git a/.github/workflows/single-matrix-pr.yml b/.github/workflows/single-matrix-pr.yml index 6dc011a5a..027aa304b 100644 --- a/.github/workflows/single-matrix-pr.yml +++ b/.github/workflows/single-matrix-pr.yml @@ -11,7 +11,7 @@ on: type: string env: # this version used for running various tools - tool_node_version: "16.x" + tool_node_version: "18.x" tool_ruby_version: "2.7.8" jobs: changes: diff --git a/.nvmrc b/.nvmrc index b5794c5ec..0cd525d8c 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1,2 +1,2 @@ -16 +18 diff --git a/README.md b/README.md index 9b1764846..c775129cc 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ apt install curl -yy #### Node and Yarn install ```bash -curl -sL https://deb.nodesource.com/setup_16.x | bash - +curl -sL https://deb.nodesource.com/setup_18.x | bash - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list apt update diff --git a/docs/getting_started_wsl2.md b/docs/getting_started_wsl2.md index 0fd4de303..a9f7b58ba 100644 --- a/docs/getting_started_wsl2.md +++ b/docs/getting_started_wsl2.md @@ -51,7 +51,7 @@ apt install curl -yy #### Node and Yarn install ```bash -curl -sL https://deb.nodesource.com/setup_16.x | bash - +curl -sL https://deb.nodesource.com/setup_18.x | bash - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list apt update diff --git a/script/build/debian/node.sh b/script/build/debian/node.sh index 2efbcebdf..7cd315030 100755 --- a/script/build/debian/node.sh +++ b/script/build/debian/node.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -e -curl -sL https://deb.nodesource.com/setup_16.x | bash - +curl -sL https://deb.nodesource.com/setup_18.x | bash - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list