diff --git a/.github/workflows/code-scanning.yml b/.github/workflows/code-scanning.yml index 546dd43f5..b858e9ecb 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: "14.x" + tool_node_version: "16.x" tool_ruby_version: "2.7.8" jobs: eslint: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 38e31fc9c..fdb1d4e58 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: [14.x] + node: [16.x] diff --git a/.github/workflows/single-matrix-pr.yml b/.github/workflows/single-matrix-pr.yml index f4bbc8dae..6dc011a5a 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: "14.x" + tool_node_version: "16.x" tool_ruby_version: "2.7.8" jobs: changes: diff --git a/.nvmrc b/.nvmrc index 49319ad46..b5794c5ec 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1,2 +1,2 @@ -14.19.1 +16 diff --git a/README.md b/README.md index 10f451986..9b1764846 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ All new backend code and React components should be well tested. ## Prerequisites -- Node.js 14 (we require 14 because we want the full internationalization built-in) +- Node.js 16 (we require 16 because we want the full internationalization built-in) - Yarn - PostgreSQL 12 (10 probably works) - Ruby 2.7 @@ -97,7 +97,7 @@ apt install curl -yy #### Node and Yarn install ```bash -curl -sL https://deb.nodesource.com/setup_14.x | bash - +curl -sL https://deb.nodesource.com/setup_16.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 2310a32fd..0fd4de303 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_14.x | bash - +curl -sL https://deb.nodesource.com/setup_16.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 7c1933de9..2efbcebdf 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_14.x | bash - +curl -sL https://deb.nodesource.com/setup_16.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