super-productivity/.github/workflows
Johannes Millan ce5c27c24c
ci(electron-build): cache electron binary + retry npm i to fix flaky install (#8487)
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.
2026-06-19 13:02:33 +02:00
..
auto-publish-google-play-on-release.yml chore(deps)(deps): bump the github-actions-minor group with 8 updates (#7778) 2026-05-26 14:43:25 +02:00
build-android.yml chore(deps)(deps): bump the github-actions-minor group with 4 updates (#8399) 2026-06-15 15:38:31 +02:00
build-create-windows-store-on-release.yml ci(win-store): collect release notes for Partner Center upload 2026-05-13 11:46:54 +02:00
build-ios.yml chore(deps)(deps): bump the github-actions-minor group with 4 updates (#8399) 2026-06-15 15:38:31 +02:00
build-publish-to-aur-on-release.yml ci(aur): retry publish on transient failures 2026-05-16 20:31:57 +02:00
build-publish-to-mac-store-on-release.yml chore(deps)(deps): bump the github-actions-minor group with 4 updates (#8399) 2026-06-15 15:38:31 +02:00
build-publish-to-snap-on-release.yml - ci(release): fix linux snap publishing race 2026-05-16 20:38:43 +02:00
build-update-web-app-on-release.yml chore(deps)(deps): bump the github-actions-minor group with 8 updates (#7778) 2026-05-26 14:43:25 +02:00
build.yml ci(electron-build): cache electron binary + retry npm i to fix flaky install (#8487) 2026-06-19 13:02:33 +02:00
ci.yml ci(electron): wire node --test for electron/*.test.cjs 2026-04-21 21:50:52 +02:00
claude.yml chore(deps)(deps): bump the github-actions-minor group with 4 updates (#8399) 2026-06-15 15:38:31 +02:00
codeql-analysis.yml chore(deps)(deps): bump the github-actions-minor group with 4 updates (#8399) 2026-06-15 15:38:31 +02:00
e2e-scheduled.yml ci(e2e): retry Docker service start to survive Docker Hub pull flakes 2026-06-09 10:50:07 +02:00
electron-smoke.yml ci(electron-build): cache electron binary + retry npm i to fix flaky install (#8487) 2026-06-19 13:02:33 +02:00
issue-open-auto-reply.yml fix(ci): add issues write permission to autoresponse workflow 2026-01-06 13:17:15 +01:00
manual-build.yml ci(electron-build): cache electron binary + retry npm i to fix flaky install (#8487) 2026-06-19 13:02:33 +02:00
plugin-tests.yml ci(plugins): use npm i for root install to tolerate override drift 2026-05-13 21:22:02 +02:00
pr-preview-build.yml chore(deps)(deps): bump the github-actions-minor group across 1 directory with 8 updates (#7289) 2026-04-20 13:41:16 +02:00
pr-preview-deploy.yml ci(pr-preview): add testing call-to-action to preview comment 2026-06-12 12:57:00 +02:00
publish-to-hub-docker.yml chore(deps)(deps): bump the github-actions-minor group with 8 updates (#7778) 2026-05-26 14:43:25 +02:00
stale-discussions.yml chore: limit "resolved" actions to correct categories (#7679) 2026-05-19 15:55:29 +02:00
stale.yml chore(deps)(deps): bump the github-actions-minor group with 8 updates (#7778) 2026-05-26 14:43:25 +02:00
supersync-docker.yml chore(deps)(deps): bump the github-actions-minor group with 8 updates (#7778) 2026-05-26 14:43:25 +02:00
supersync-server-tests.yml ci: gate super-sync-server tests on server-path PRs 2026-06-17 16:07:53 +02:00
test-mac-dmg-build.yml ci(electron-build): cache electron binary + retry npm i to fix flaky install (#8487) 2026-06-19 13:02:33 +02:00
welcome-first-time-contributors.yml fix(ci): replace buggy first-interaction action with custom first-time check 2026-02-13 14:06:43 +01:00
wiki-sync.yml fix(ci): pin wiki-sync second checkout to actions/checkout@v5 (#7759) 2026-05-23 20:41:44 +02:00