Bump minimum node version to >=14

Needed to merge https://github.com/matrix-org/mjolnir/pull/186 & node 12 is approaching EOL.
This commit is contained in:
gnuxie 2022-01-18 16:33:30 +00:00
parent 941d10b015
commit dacbc1cde5
3 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM node:alpine
FROM node:14-alpine
COPY . /tmp/src
RUN cd /tmp/src \
&& yarn install \

View File

@ -52,7 +52,7 @@ docker run --rm -it -v /etc/mjolnir:/data matrixdotorg/mjolnir:latest
## Build it (alternative installation)
This bot requires `yarn` and Node 10.
This bot requires `yarn` and Node 14.
```bash
git clone https://github.com/matrix-org/mjolnir.git

View File

@ -39,5 +39,8 @@
"js-yaml": "^4.1.0",
"jsdom": "^16.6.0",
"matrix-bot-sdk": "^0.5.19"
},
"engines": {
"node": ">=14.0.0"
}
}