From dfc35436268e778733c4a2f82ef5ebb3d3d4e3c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 11 May 2025 19:08:29 +0200 Subject: [PATCH] chore: drop node 18.x support MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/autofix.yml | 2 +- .github/workflows/ci.yml | 6 +++--- ui/web/package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 524a11c0..82377ede 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -15,7 +15,7 @@ jobs: - run: pipx install poetry - uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.13 cache: poetry - working-directory: tests/ocpp-server diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd5b0e58..48b62901 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,14 +43,14 @@ jobs: - name: Install Dependencies run: poetry install --no-root - name: Lint - if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.12' }} + if: ${{ matrix.os == 'ubuntu-latest' && matrix.python == '3.13' }} run: poetry run task lint build-simulator: needs: [check-secrets] strategy: matrix: os: [windows-latest, macos-latest, ubuntu-latest] - node: ['20.x', '22.x', 'latest'] + node: ['20.x', '22.x', '24.x', 'latest'] name: Build simulator with Node ${{ matrix.node }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} steps: @@ -98,7 +98,7 @@ jobs: strategy: matrix: os: [windows-latest, macos-latest, ubuntu-latest] - node: ['18.x', '20.x', '22.x', 'latest'] + node: ['20.x', '22.x', '24.x', 'latest'] name: Build dashboard with Node ${{ matrix.node }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} defaults: diff --git a/ui/web/package.json b/ui/web/package.json index 69120289..f5297186 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -4,7 +4,7 @@ "version": "2.0.7", "readme": "README.md", "engines": { - "node": ">=18.0.0", + "node": ">=20.0.0", "pnpm": ">=9.0.0" }, "volta": { -- 2.43.0