Merge pull request #192 from matrix-org/gnuxie/node-14

Bump minimum node version to 14
This commit is contained in:
Gnuxie 2022-01-19 17:11:41 +00:00 committed by GitHub
commit c61d883578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"
}
}