From 8a2454661569890ee1dbe918fca3da758722fd38 Mon Sep 17 00:00:00 2001 From: escapedcat Date: Mon, 19 Feb 2024 12:41:35 +0100 Subject: [PATCH] Revert "ci: update node version to v20" This reverts commit 0e64d601f5baf7bfbfd0ccde06b2a6f62033d4d9. --- .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 91b2422994..975ccd12ea 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: [20] + node: [18, 20] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 diff --git a/Dockerfile.ci b/Dockerfile.ci index 410bd2b993..babe60d0db 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -1,4 +1,4 @@ -FROM docker.io/library/node:20-buster AS builder +FROM docker.io/library/node:18-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:20-buster +FROM docker.io/library/node:18-buster COPY --from=builder /src/*.tgz ./ RUN npm install -g *.tgz && \ rm -rf *.tgz