From 62eb3ace3537130e67a816b048590226f3d59927 Mon Sep 17 00:00:00 2001 From: mbw Date: Sat, 8 Jun 2024 18:14:36 +0100 Subject: [PATCH] Node versions update Signed-off-by: mbw --- .github/workflows/build.yaml | 2 +- Dockerfile | 4 ++-- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d6e4608..541417d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [12.x, 14.x, 16.x] + node-version: [20.x] steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} diff --git a/Dockerfile b/Dockerfile index 36bdd27..20b46c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # # SPDX-License-Identifier: Apache-2.0 # -FROM node:16 AS builder +FROM node:20 AS builder WORKDIR /usr/src/app @@ -10,7 +10,7 @@ COPY --chown=node:node . /usr/src/app RUN npm ci && npm run build && npm shrinkwrap -FROM node:16 AS production +FROM node:20 AS production # Setup tini to work better handle signals ENV TINI_VERSION v0.19.0 diff --git a/package.json b/package.json index 2bb8012..ed0c520 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "lint": "eslint '*/**/*.{js,ts,tsx}' --quiet --fix", "build": "npm run format && npm run clean && npm run lint && echo Using TypeScript && tsc --version && tsc --pretty && npm link", "release": "standard-version", - "test": "jest", + "test": "jest --passWithNoTests", "postinstall": "node-config-ts" }, "repository": {