update electron to v40, update node versions in workflows (#4018)

- remove param `--enable-features=UseOzonePlatform` in start electron
tests (as we did already in `package.json`)
- update node versions in github workflows, remove `22.21.1`, add `25.x`
- fix formatting in tests
- update dependencies including electron to v40

This is still a draft PR because most calendar electron tests are not
running which is caused by the electron update from `v39.3.0` to
`v40.0.0`. Maybe @KristjanESPERANTO has an idea ...

---------

Co-authored-by: Kristjan ESPERANTO <35647502+KristjanESPERANTO@users.noreply.github.com>
This commit is contained in:
Karsten Hassel
2026-01-24 13:15:15 +01:00
committed by GitHub
parent 34913bfb9f
commit 5e0cd28980
23 changed files with 1188 additions and 1266 deletions

View File

@@ -42,7 +42,7 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
node-version: [22.21.1, 22.x, 24.x]
node-version: [22.x, 24.x, 25.x]
steps:
- name: Install electron dependencies and labwc
run: |

View File

@@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-slim
strategy:
matrix:
node-version: [22.21.1, 22.x, 24.x]
node-version: [22.x, 24.x, 25.x]
steps:
- name: Checkout code
uses: actions/checkout@v6