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 d513c900e..e69bdba9a 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "url": "https://github.com/sponsors/exceljs" }, "engines": { - "node": ">=8.3.0" + "node": ">=20" }, "main": "./excel.js", "browser": "./dist/exceljs.min.js",