From e763d28085098963d0a755148127b8dcf5b2bd79 Mon Sep 17 00:00:00 2001 From: Maksadbek Date: Thu, 5 Dec 2024 00:21:36 +0100 Subject: [PATCH] chore: upgrade minimum node version to 20 also update the E2E test workflows --- .github/workflows/e2e.yml | 20 ++++++++++---------- package.json | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 5a6c0d74..024f4ea6 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -49,17 +49,17 @@ jobs: matrix: include: - os: ubuntu-latest - container: ubuntu:18.04 + container: ubuntu:20.04 executable: bright-cli-linux-x64 - node: 16 + node: 20 - os: ubuntu-latest - container: ubuntu:16.04 + container: ubuntu:22.04 executable: bright-cli-linux-x64 - node: 16 + node: 20 - os: ubuntu-latest container: fedora:24 executable: bright-cli-linux-x64 - node: 16 + node: 20 - os: ubuntu-latest container: fedora:latest executable: bright-cli-linux-x64 @@ -234,17 +234,17 @@ jobs: fail-fast: false matrix: os: [macos-latest, windows-latest, ubuntu-latest] - node: [16, 18, 20] + node: [20, 22] include: - os: ubuntu-latest - container: ubuntu:16.04 - node: 16 + container: ubuntu:20.04 + node: 20 - os: ubuntu-latest container: fedora:24 - node: 16 + node: 20 - os: ubuntu-latest container: fedora:latest - node: 18 + node: 20 - os: ubuntu-latest container: fedora:latest node: 20 diff --git a/package.json b/package.json index 05b250ff..2b7ac8f1 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ ] }, "engines": { - "node": ">=16 <=20" + "node": ">=20 <=22" }, "dependencies": { "@neuralegion/os-service": "^1.2.6",