From 037e5de9ffd37c2eff711941284cc1ce635d7e89 Mon Sep 17 00:00:00 2001 From: Francis Turmel Date: Sun, 23 Jun 2024 19:54:07 -0400 Subject: [PATCH] move to node.js 20 --- .github/workflows/node.js.yml | 2 +- .nvmrc | 2 +- CONTRIBUTING.md | 2 +- README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 037d4e43d..828264672 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -17,7 +17,7 @@ jobs: - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: '20.x' cache: 'npm' - run: npm ci - run: npm test diff --git a/.nvmrc b/.nvmrc index 25bf17fc5..2edeafb09 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18 \ No newline at end of file +20 \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dd452dd9a..9fd667c65 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -49,4 +49,4 @@ To find an issue that you want to fix, scan through the list. You may find that ### Development Environment -Make sure you have Node.js version `18.x` as well as npm installed. You can find how to test your changes locally [here](https://github.com/CodingTrain/thecodingtrain.com#development-info). +Make sure you have Node.js version `20.x` as well as npm installed. You can find how to test your changes locally [here](https://github.com/CodingTrain/thecodingtrain.com#development-info). diff --git a/README.md b/README.md index 8c50e27ec..816edb599 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ This repo holds the website for [thecodingtrain.com](https://thecodingtrain.com/ ## Development info -When updating the website, it is helpful to run the website locally in order to quickly see the changes made. Make sure you have Node.js version `18.x` installed and then perform the following steps: +When updating the website, it is helpful to run the website locally in order to quickly see the changes made. Make sure you have Node.js version `20.x` installed and then perform the following steps: 1. Clone down the repo to your computer and `cd` into the folder 2. Run `npm install`