From b85c3b6f782a23a6cbbec2ebedf663fea955d66e Mon Sep 17 00:00:00 2001 From: Evan Hahn Date: Fri, 19 Jan 2024 07:41:16 -0600 Subject: [PATCH] chore: develop on Node 20, CI with 16.17.1 + 18.17.1 + 20 (#35) This change updates this project's Node versions: - Develop on Node 20 by updating `.nvmrc`. - CI should test on Node 20, 18.17.1, and 16.17.1. Node 16.17.1 and 18.17.1 match versions of nodejs-mobile-react-native, used by CoMapeo-mobile. nodejs-mobile has the same major & minor versions as Node, but [different patch versions][0]. For example, nodejs-mobile-react-native@16.17.10 corresponds to Node 16.17.1. [0]: https://github.com/nodejs-mobile/nodejs-mobile-react-native/tree/51afe46d36d3776d1bfe7158073897216b55d7f2#versioning Co-authored-by: Gregor MacLennan BREAKING CHANGE: Node 16.17.1+ is now required. --- .github/workflows/node.js.yml | 2 +- .nvmrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 41bd8e2..956b2bc 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - node-version: [14.x, 16.x] + node-version: [16.17.1, 18.17.1, 20.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/.nvmrc b/.nvmrc index 8351c19..209e3ef 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14 +20