Skip to content
This repository has been archived by the owner on Jul 17, 2022. It is now read-only.

Commit

Permalink
fix: switch to Node.js 16
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Aug 30, 2021
1 parent 657d893 commit e7e3c2a
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/frontend-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'
- name: Install modules
run: yarn --frozen-lockfile
- name: Run codegen
Expand Down
1 change: 0 additions & 1 deletion .node-version

This file was deleted.

2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 14.15.5
nodejs 16
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,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)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand Down
2 changes: 1 addition & 1 deletion script/dev_setup
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -eu

REQUIRED_NODE_VERSION=v14
REQUIRED_NODE_VERSION=v16

_current_os=$(uname)

Expand Down

0 comments on commit e7e3c2a

Please sign in to comment.