mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-12-12 18:02:15 +00:00
Cleanup github actions (#3549)
- should now correct itself when one changes from (accidentaly selected) master to develop - also fixes wrong CHANGELOG entry from https://github.com/MagicMirrorOrg/MagicMirror/pull/3481 - update deps a little
This commit is contained in:
28
.github/workflows/electron-rebuild.yaml
vendored
Normal file
28
.github/workflows/electron-rebuild.yaml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: "Electron Rebuild Testing"
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
rebuild:
|
||||
name: Run electron-rebuild
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [20.x, 22.x]
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: "Use Node.js ${{ matrix.node-version }}"
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
check-latest: true
|
||||
- name: Install MagicMirror
|
||||
run: npm run install-mm
|
||||
- name: Install @electron/rebuild
|
||||
run: npm install @electron/rebuild
|
||||
- name: Install some test library to be rebuilded
|
||||
run: npm install onoff node-pty drivelist
|
||||
- name: Run electron-rebuild
|
||||
run: npx electron-rebuild
|
||||
continue-on-error: false
|
||||
Reference in New Issue
Block a user