From 731512c2e503f555f2172600f766c0c75f8de7cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bugsounet=20-=20C=C3=A9dric?= Date: Thu, 26 Sep 2024 19:09:39 +0200 Subject: [PATCH] Electron rebuild tests update (#3563) # Update electron-rebuild.yaml * remove onoff library: Not updated since 3 years, don't work with last rpi Os * add node-libgpiod library in replacement --- .github/workflows/electron-rebuild.yaml | 4 +++- CHANGELOG.md | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/electron-rebuild.yaml b/.github/workflows/electron-rebuild.yaml index 2d22fced..fa09f43d 100644 --- a/.github/workflows/electron-rebuild.yaml +++ b/.github/workflows/electron-rebuild.yaml @@ -21,8 +21,10 @@ jobs: run: npm run install-mm - name: Install @electron/rebuild run: npm install @electron/rebuild + - name: Install node-libgpiod deps + run: sudo apt-get install gpiod libgpiod2 libgpiod-dev - name: Install some test library to be rebuilded - run: npm install onoff node-pty drivelist + run: npm install node-libgpiod node-pty drivelist - name: Run electron-rebuild run: npx electron-rebuild continue-on-error: false diff --git a/CHANGELOG.md b/CHANGELOG.md index 92cab193..f5bb539e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,12 +18,14 @@ _This release is scheduled to be released on 2024-10-01._ - [core] elements are now removed from `index.html` when loading script or stylesheet files fails - [core] Added `MODULE_DOM_UPDATED` notification each time the DOM is re-rendered via `updateDom` (#3534) - [tests] added minimal needed node version to tests (currently v20.9.0) to avoid releases with wrong node version info +- [tests] Added `node-libgpiod` library to electron-rebuild tests (#3563) ### Removed - [core] removed installer only files (#3492) - [core] removed raspberry object from systeminformation (#3505) - [linter] removed `eslint-plugin-import`, because it doesn't support ESLint v9. We will reenter it later when it does. +- [tests] removed `onoff` library from electron-rebuild tests (#3563) ### Updated