mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-17 16:37:43 +00:00
CI run 27780507031 failed when electron's npm postinstall timed out (ETIMEDOUT) downloading its prebuilt binary from GitHub. Harden every Electron build/package job against that transient failure. - New composite action .github/actions/setup-electron-build: node 22, the git-over-HTTPS workaround, and a combined npm-registry + electron-binary cache (warm runs skip the flaky download). The electron cache dir is OS-specific, so all three are listed; actions/cache ignores absent ones. - Each job retries `npm i` via nick-fields/retry (the repo's existing idiom) under shell:bash, dropping node_modules/electron between attempts so npm actually re-runs the postinstall (verified: npm skips scripts for an already-present package). - mac/windows run `npm install @nx/<platform>` before `npm i`; since `npm install <pkg>` reifies the whole tree, electron downloads in that step, so the nx workaround is folded into the same retried command. Routed through the composite: electron-smoke (linux), build.yml (linux/mac/windows), manual-build (windows/mac), test-mac-dmg. |
||
|---|---|---|
| .. | ||
| setup-e2e | ||
| setup-electron-build | ||