diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 4d54317..4ac89d4 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -19,10 +19,10 @@ jobs: with: fetch-depth: 0 - - name: Use Node.js 18.x + - name: Use Node.js 20.x uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - name: Start MongoDB uses: supercharge/mongodb-github-action@1.9.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de598d8..ce9a6b1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,10 +13,10 @@ jobs: - name: Git checkout uses: actions/checkout@v3 - - name: Use Node.js 18.x + - name: Use Node.js 20.x uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - name: Start MongoDB uses: supercharge/mongodb-github-action@1.9.0 diff --git a/Dockerfile b/Dockerfile index 9533e95..60a18d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # ---------- Base ---------- -FROM node:hydrogen-alpine AS base +FROM node:20-alpine AS base WORKDIR /app diff --git a/package.json b/package.json index 3c8e490..7a1c928 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "cors": "^2.8.5", "express": "^4.18.2", "express-basic-auth": "^1.2.1", - "express-rate-limit": "^7.1.4", + "express-rate-limit": "^7.1.5", "express-validator": "^7.0.1", "graphql": "^16.8.1", "graphql-http": "^1.22.0", @@ -41,7 +41,7 @@ "jsonwebtoken": "^9.0.2", "moment": "^2.29.4", "mongodb": "^6.3.0", - "mongoose": "^8.0.1", + "mongoose": "^8.0.2", "pino": "^8.16.2", "pino-pretty": "^10.2.3", "swagger-ui-express": "^5.0.0", @@ -50,18 +50,18 @@ }, "devDependencies": { "@babel/cli": "^7.23.4", - "@babel/core": "^7.23.3", + "@babel/core": "^7.23.5", "@babel/node": "^7.22.19", - "@babel/preset-env": "^7.23.3", + "@babel/preset-env": "^7.23.5", "@babel/register": "^7.22.15", "babel-jest": "^29.7.0", "babel-polyfill": "^6.26.0", "env-cmd": "^10.1.0", - "eslint": "^8.54.0", + "eslint": "^8.55.0", "jest": "^29.7.0", "jest-sonar-reporter": "^2.0.0", "node-notifier": "^10.0.1", - "nodemon": "^3.0.1", + "nodemon": "^3.0.2", "sinon": "^17.0.1", "supertest": "^6.3.3" },