mirror of
https://github.com/MichMich/MagicMirror.git
synced 2026-06-09 03:34:51 +00:00
- 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>
29 lines
806 B
YAML
29 lines
806 B
YAML
name: "Electron Rebuild Testing"
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
rebuild:
|
|
name: Run electron-rebuild
|
|
runs-on: ubuntu-slim
|
|
strategy:
|
|
matrix:
|
|
node-version: [22.x, 24.x, 25.x]
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v6
|
|
- name: "Use Node.js ${{ matrix.node-version }}"
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
check-latest: true
|
|
- name: Install MagicMirror
|
|
run: node --run install-mm
|
|
- name: Install @electron/rebuild
|
|
run: npm install @electron/rebuild
|
|
- name: Install test library (serialport) to be rebuilt
|
|
run: npm install serialport
|
|
- name: Run electron-rebuild
|
|
run: npx electron-rebuild
|
|
continue-on-error: false
|