From 0e64d601f5baf7bfbfd0ccde06b2a6f62033d4d9 Mon Sep 17 00:00:00 2001 From: escapedcat Date: Mon, 19 Feb 2024 12:23:34 +0100 Subject: [PATCH] ci: update node version to v20 --- .github/workflows/CI.yml | 2 +- Dockerfile.ci | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 975ccd12ea..91b2422994 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04, windows-2022] - node: [18, 20] + node: [20] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 diff --git a/Dockerfile.ci b/Dockerfile.ci index babe60d0db..410bd2b993 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -1,4 +1,4 @@ -FROM docker.io/library/node:18-buster AS builder +FROM docker.io/library/node:20-buster AS builder WORKDIR /src COPY . ./ RUN yarn install && \ @@ -23,7 +23,7 @@ RUN yarn install && \ # Default commitlint config npm pack @commitlint/config-conventional -FROM docker.io/library/node:18-buster +FROM docker.io/library/node:20-buster COPY --from=builder /src/*.tgz ./ RUN npm install -g *.tgz && \ rm -rf *.tgz