From 96b3d77fc096ee96f7707b24bdf6fa03d8babd79 Mon Sep 17 00:00:00 2001 From: Durran Jordan Date: Tue, 24 Jun 2025 15:06:13 +0200 Subject: [PATCH 1/2] feat(NODE-7007): remove support for node 16 and 18 --- .github/docker/Dockerfile.glibc | 2 +- .github/docker/Dockerfile.musl | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/test.yml | 2 +- package-lock.json | 2 +- package.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/docker/Dockerfile.glibc b/.github/docker/Dockerfile.glibc index b20e124..b8c2bc0 100644 --- a/.github/docker/Dockerfile.glibc +++ b/.github/docker/Dockerfile.glibc @@ -1,7 +1,7 @@ ARG UBUNTU_VERSION=bionic FROM ubuntu:${UBUNTU_VERSION} AS build -ARG NODE_VERSION=16.20.1 +ARG NODE_VERSION=20.19.3 # Possible values: s390x, arm64, x64 ARG NODE_ARCH ADD https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${NODE_ARCH}.tar.gz / diff --git a/.github/docker/Dockerfile.musl b/.github/docker/Dockerfile.musl index f7f4b64..af0987d 100644 --- a/.github/docker/Dockerfile.musl +++ b/.github/docker/Dockerfile.musl @@ -1,6 +1,6 @@ ARG PLATFORM=arm64 -ARG NODE_VERSION=16.20.1 +ARG NODE_VERSION=20.19.3 FROM ${PLATFORM}/node:${NODE_VERSION}-alpine AS build diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index efbbfe7..9cafeb3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: 16.20.1 + node-version: 20.x cache: "npm" registry-url: "https://registry.npmjs.org" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 89f9590..4086ebc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [macos-latest, windows-2019, macos-13] - node: [16.20.1, 18.x, 20.x, 22.x] + node: [20.x, 22.x] fail-fast: false runs-on: ${{ matrix.os }} steps: diff --git a/package-lock.json b/package-lock.json index b8f162c..a4abfb6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "prettier": "^3.5.3" }, "engines": { - "node": ">= 16.20.1" + "node": ">= 20.0.0" } }, "node_modules/@eslint-community/eslint-utils": { diff --git a/package.json b/package.json index bf0e845..9f3164f 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "prettier": "^3.5.3" }, "engines": { - "node": ">= 16.20.1" + "node": ">= 20.0.0" }, "scripts": { "install": "prebuild-install --runtime napi || npm run clean-install", From 8f42e509b6c3a7f6ae3720e8d414e999f4b679a5 Mon Sep 17 00:00:00 2001 From: Durran Jordan Date: Tue, 24 Jun 2025 15:08:18 +0200 Subject: [PATCH 2/2] chore: fix windows brownout --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4086ebc..97e33bc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: host_tests: strategy: matrix: - os: [macos-latest, windows-2019, macos-13] + os: [macos-latest, windows-2022, macos-13] node: [20.x, 22.x] fail-fast: false runs-on: ${{ matrix.os }}