deploy on node 20 (#9799)

* deploy on node 20

* use appropriate npm versions for each node version
This commit is contained in:
chris48s
2023-12-30 19:03:34 +00:00
committed by GitHub
parent 3300e4a09d
commit 01de8910cd
22 changed files with 45 additions and 37 deletions

View File

@@ -25,7 +25,7 @@ and learn about the [GitHub workflow](http://try.github.io/).
#### Node, NPM
Node >=18 and NPM 9.x is required. If you don't already have them,
Node >=20 and NPM 9.x or 10.x is required. If you don't already have them,
install node and npm: https://nodejs.org/en/download/
### Setup a dev install

View File

@@ -4,13 +4,13 @@ This document describes how to host your own shields server either from source o
## Installing from Source
You will need Node 18 or later, which you can install using a
You will need Node 20 or later, which you can install using a
[package manager][].
On Ubuntu / Debian:
```sh
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -; sudo apt-get install -y nodejs
curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -; sudo apt-get install -y nodejs
```
```sh