diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f69c43145..64cb468da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v2 with: - node-version: 14.15.5 + node-version: '16.x' # Cache node_modules between builds based on the yarn.lock file's hash. - uses: actions/cache@v2 diff --git a/.node-version b/.node-version deleted file mode 100644 index 18711d290..000000000 --- a/.node-version +++ /dev/null @@ -1 +0,0 @@ -14.17.5 diff --git a/.tool-versions b/.tool-versions index 1f6451a60..f3134c2d4 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -nodejs 14.15.5 +nodejs 16 diff --git a/README.md b/README.md index abbc891c7..6c3cd18f8 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ If the pull request does not require additional changes, the reviewer should mer ## Dev setup -Install node.js v14: +Install node.js v16: - Install with [nodenv](https://github.com/nodenv/nodenv) - or [nvm](https://github.com/nvm-sh/nvm) diff --git a/package.json b/package.json index c759790db..691a14fa2 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "migrate-db": "npx sequelize-cli db:migrate" }, "engines": { - "node": ">=14.0.0", + "node": ">=16.0.0", "yarn": ">= 1.22.5" }, "keywords": [], diff --git a/script/dev_setup b/script/dev_setup index 105c3b193..6f7497aa3 100755 --- a/script/dev_setup +++ b/script/dev_setup @@ -2,7 +2,7 @@ set -eu -REQUIRED_NODE_VERSION=v14 +REQUIRED_NODE_VERSION=v16 _current_os=$(uname)