From c2b4f2a4a4bc9645f8da033259678b3b33f54e99 Mon Sep 17 00:00:00 2001 From: Roman Date: Wed, 27 May 2026 19:16:13 +0100 Subject: [PATCH] feat!: update minimum Node version --- .github/workflows/tests.yml | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7e696d799..25288349a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [10.x, 12.x, 14.x, 16.x, 17.x, 18.x, 19.x, 20.x] + node-version: [20.x, 22.x, 24.x, 26.x] os: [ubuntu-latest, macOS-latest, windows-latest] runs-on: ${{ matrix.os }} @@ -52,7 +52,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #latest v4. TODO upgrade - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d #latest v3. TODO upgrade with: - node-version: 18 + node-version: 20 - name: Create the npm cache directory run: mkdir npm-cache && npm config set cache ./npm-cache --global - name: Cache node modules @@ -76,7 +76,7 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #latest v4. TODO upgrade - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d #latest v3. TODO upgrade with: - node-version: 18 + node-version: 20 - name: Create the npm cache directory run: mkdir npm-cache && npm config set cache ./npm-cache --global - name: Cache node modules diff --git a/package.json b/package.json index 7a70a5e13..dd4526a47 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "url": "https://github.com/exceljs/exceljs.git" }, "engines": { - "node": ">=8.3.0" + "node": ">=20" }, "main": "./excel.js", "browser": "./dist/exceljs.min.js",