From: Jérôme Benoit Date: Sun, 11 May 2025 17:08:29 +0000 (+0200) Subject: chore: drop node 18.x support X-Git-Tag: ocpp-server@v2.0.8~9 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=dfc35436268e778733c4a2f82ef5ebb3d3d4e3c7;p=e-mobility-charging-stations-simulator.git chore: drop node 18.x support Signed-off-by: Jérôme Benoit --- 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": {