Node 18+ 💥💚

This commit is contained in:
Jannis R 2022-12-19 13:20:17 +01:00
parent 4b333ea9be
commit fe469cd658
No known key found for this signature in database
GPG key ID: 0FE83946296A88A5
3 changed files with 4 additions and 4 deletions

View file

@ -13,7 +13,7 @@ jobs:
- name: setup Node
uses: actions/setup-node@v1
with:
node-version: 16.x
node-version: 18.x
- run: npm install
- run: npm run lint
- run: npm test

View file

@ -1,4 +1,4 @@
FROM node:alpine as builder
FROM node:18-alpine as builder
WORKDIR /app
# install dependencies
@ -12,7 +12,7 @@ RUN npm run build
# ---
FROM node:alpine
FROM node:18-alpine
LABEL org.opencontainers.image.title="db-rest"
LABEL org.opencontainers.image.description="A clean REST API wrapping around the Deutsche Bahn API."
LABEL org.opencontainers.image.authors="Jannis R <mail@jannisr.de>"

View file

@ -19,7 +19,7 @@
"db"
],
"engines": {
"node": ">=10"
"node": ">=18"
},
"dependencies": {
"cached-hafas-client": "^4.0.4",