From 0a01389032cda772f72326993c1cb1c485c34b91 Mon Sep 17 00:00:00 2001 From: Ryo Ota Date: Wed, 5 Jun 2024 13:54:28 +0900 Subject: [PATCH] docker: use node 20.14.0 as base docker image --- .github/workflows/ci.yml | 2 +- Dockerfile | 2 +- package-lock.json | 14 +++++++------- package.json | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 233d1b3002..d2943206cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [12.x, 14.x, 16.x, 18.x] + node-version: [12.x, 14.x, 16.x, 18.x, 20.x] steps: - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} diff --git a/Dockerfile b/Dockerfile index 4b599f2ec0..13f43ee19f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18.17.1-alpine +FROM node:20.14.0-alpine LABEL maintainer="Ryo Ota " diff --git a/package-lock.json b/package-lock.json index edcb24ff1b..802ff8e8c2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ }, "devDependencies": { "@types/mocha": "^9.1.1", - "@types/node": "^18.15.11", + "@types/node": "^20.14.1", "@types/power-assert": "^1.5.8", "@types/request": "^2.48.8", "@types/yargs": "^17.0.23", @@ -238,9 +238,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.19.34", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.34.tgz", - "integrity": "sha512-eXF4pfBNV5DAMKGbI02NnDtWrQ40hAN558/2vvS4gMpMIxaf6JmD7YjnZbq0Q9TDSSkKBamime8ewRoomHdt4g==", + "version": "20.14.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.1.tgz", + "integrity": "sha512-T2MzSGEu+ysB/FkWfqmhV3PLyQlowdptmmgD20C6QxsS8Fmv5SjpZ1ayXaEC0S21/h5UJ9iA6W/5vSNU5l00OA==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -3681,9 +3681,9 @@ "dev": true }, "@types/node": { - "version": "18.19.34", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.34.tgz", - "integrity": "sha512-eXF4pfBNV5DAMKGbI02NnDtWrQ40hAN558/2vvS4gMpMIxaf6JmD7YjnZbq0Q9TDSSkKBamime8ewRoomHdt4g==", + "version": "20.14.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.1.tgz", + "integrity": "sha512-T2MzSGEu+ysB/FkWfqmhV3PLyQlowdptmmgD20C6QxsS8Fmv5SjpZ1ayXaEC0S21/h5UJ9iA6W/5vSNU5l00OA==", "dev": true, "requires": { "undici-types": "~5.26.4" diff --git a/package.json b/package.json index 4768e84ec2..c32fed2da0 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "license": "MIT", "devDependencies": { "@types/mocha": "^9.1.1", - "@types/node": "^18.15.11", + "@types/node": "^20.14.1", "@types/power-assert": "^1.5.8", "@types/request": "^2.48.8", "@types/yargs": "^17.0.23",