diff --git a/.evergreen/config.yml b/.evergreen/config.yml index 13a7fd8e..e4480098 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -120,29 +120,6 @@ tasks: - func: run prebuild buildvariants: - - name: ubuntu2204-x64-node-16 - display_name: 'Ubuntu 22.04 x64 - Node 16' - run_on: ubuntu2204-small - expansions: - has_packages: true - packager_distro: ubuntu2204 - packager_arch: x86_64 - NODE_LTS_VERSION: "16" - NPM_VERSION: "9" - tasks: - - run-tests-ubuntu - - run-tests-ubuntu-rtld - - name: ubuntu2204-x64-node-18 - display_name: 'Ubuntu 22.04 x64 - Node 18' - run_on: ubuntu2204-small - expansions: - has_packages: true - packager_distro: ubuntu2204 - packager_arch: x86_64 - NODE_LTS_VERSION: "18" - tasks: - - run-tests-ubuntu - - run-tests-ubuntu-rtld - name: ubuntu2204-x64-node-20 display_name: 'Ubuntu 22.04 x64 - Node 20' run_on: ubuntu2204-small @@ -165,29 +142,6 @@ buildvariants: tasks: - run-tests-ubuntu - run-tests-ubuntu-rtld - - name: ubuntu2204-arm64-node-16 - display_name: 'Ubuntu 22.04 arm64 - Node 16' - run_on: ubuntu2204-arm64-small - expansions: - has_packages: true - packager_distro: ubuntu2204 - packager_arch: arm64 - NODE_LTS_VERSION: "16" - NPM_VERSION: "9" - tasks: - - run-tests-ubuntu - - run-tests-ubuntu-rtld - - name: ubuntu2204-arm64-node-18 - display_name: 'Ubuntu 22.04 arm64 - Node 18' - run_on: ubuntu2204-arm64-small - expansions: - has_packages: true - packager_distro: ubuntu2204 - packager_arch: arm64 - NODE_LTS_VERSION: "18" - tasks: - - run-tests-ubuntu - - run-tests-ubuntu-rtld - name: ubuntu2204-arm64-node-20 display_name: 'Ubuntu 22.04 arm64 - Node 20' run_on: ubuntu2204-arm64-small diff --git a/.evergreen/install-dependencies.sh b/.evergreen/install-dependencies.sh index 0c193075..7bd5147c 100644 --- a/.evergreen/install-dependencies.sh +++ b/.evergreen/install-dependencies.sh @@ -5,7 +5,7 @@ set -o errexit # Exit the script with error if any of the commands fail ## a nodejs major version (i.e., 16) ## 'latest' ## a full nodejs version, in the format v..patch -export NODE_LTS_VERSION=${NODE_LTS_VERSION:-14} +export NODE_LTS_VERSION=${NODE_LTS_VERSION:-20} # npm version can be defined in the environment for cases where we need to install # a version lower than latest to support EOL Node versions. When not provided will # be handled by this script in drivers tools. diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8d233f1c..ab65c570 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -23,9 +23,6 @@ updates: # chalk is esmodule only. - dependency-name: "chalk" versions: [">=5.0.0"] - # nyc is Node18+ only starting on nyc@16.x. - - dependency-name: "nyc" - versions: [">=16.0.0"] # we ignore TS as a part of quarterly dependency updates. - dependency-name: "typescript" # node-gyp now depends on python 3.10, we install 3.6 in our dockerfile diff --git a/.github/docker/Dockerfile.glibc b/.github/docker/Dockerfile.glibc index c125712c..88d711e2 100644 --- a/.github/docker/Dockerfile.glibc +++ b/.github/docker/Dockerfile.glibc @@ -1,9 +1,9 @@ -FROM ubuntu:bionic AS build +FROM ubuntu:noble AS build # Possible values: s390x, arm64, x64 ARG NODE_ARCH -ADD https://nodejs.org/dist/v16.20.1/node-v16.20.1-linux-${NODE_ARCH}.tar.gz / -RUN mkdir -p /nodejs && tar -xzf /node-v16.20.1-linux-${NODE_ARCH}.tar.gz --strip-components=1 -C /nodejs +ADD https://nodejs.org/dist/v20.19.0/node-v20.19.0-linux-${NODE_ARCH}.tar.gz / +RUN mkdir -p /nodejs && tar -xzf /node-v20.19.0-linux-${NODE_ARCH}.tar.gz --strip-components=1 -C /nodejs ENV PATH=$PATH:/nodejs/bin WORKDIR /kerberos diff --git a/package.json b/package.json index d4b8df1f..9e2085d9 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "prebuild": "prebuild --runtime napi --strip --verbose --all" }, "engines": { - "node": ">=12.9.0" + "node": ">=20.19.0" }, "binary": { "napi_versions": [ @@ -73,4 +73,4 @@ }, "license": "Apache-2.0", "readmeFilename": "README.md" -} +} \ No newline at end of file