diff --git a/.github/workflows/electron-rebuild.yaml b/.github/workflows/electron-rebuild.yaml index 32a7076b..7826a14f 100644 --- a/.github/workflows/electron-rebuild.yaml +++ b/.github/workflows/electron-rebuild.yaml @@ -21,12 +21,8 @@ jobs: run: node --run install-mm - name: Install @electron/rebuild run: npm install @electron/rebuild - - name: Install node-libgpiod deps - run: | - sudo apt-get update - sudo apt-get install gpiod libgpiod2 libgpiod-dev - - name: Install test library (node-libgpiod) to be rebuilded - run: npm install node-libgpiod + - name: Install test library (serialport) to be rebuilt + run: npm install serialport - name: Run electron-rebuild run: npx electron-rebuild continue-on-error: false diff --git a/CHANGELOG.md b/CHANGELOG.md index 8847eec6..a9309c57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ planned for 2026-01-01 - [calendar] chore: remove `requiresVersion: "2.1.0"` (#3932) - [tests] migrate from `jest` to `vitest` (#3940, #3941) - [ci] Add concurrency to automated tests workflow to cancel outdated runs (#3943) +- [tests] replace `node-libgpiod` with `serialport` in electron-rebuild workflow (#3945) ### Fixed diff --git a/package-lock.json b/package-lock.json index 5ee9532b..ce7729f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -62,7 +62,7 @@ "node": ">=22.20.0 <23 || >=24" }, "optionalDependencies": { - "electron": "^38.3.0" + "electron": "^39.0.0" } }, "node_modules/@acemir/cssom": { @@ -4801,9 +4801,9 @@ "license": "MIT" }, "node_modules/electron": { - "version": "38.5.0", - "resolved": "https://registry.npmjs.org/electron/-/electron-38.5.0.tgz", - "integrity": "sha512-dbC7V+eZweerYMJfxQldzHOg37a1VdNMCKxrJxlkp3cA30gOXtXSg4ZYs07L5+QwI19WOy1uyvtEUgbw1RRsCQ==", + "version": "39.0.0", + "resolved": "https://registry.npmjs.org/electron/-/electron-39.0.0.tgz", + "integrity": "sha512-UejnuOK4jpRZUq7MkEAnR/szsRWLKBJAdvn6j3xdQLT57fVv13VSNdaUHHjSheaqGzNhCGIdkPsPJnGJVh5kiA==", "hasInstallScript": true, "license": "MIT", "optional": true, diff --git a/package.json b/package.json index a67d362c..58cefcde 100644 --- a/package.json +++ b/package.json @@ -121,7 +121,7 @@ "vitest": "^4.0.6" }, "optionalDependencies": { - "electron": "^38.3.0" + "electron": "^39.0.0" }, "engines": { "node": ">=22.20.0 <23 || >=24"