Mirror moomux's Test/Deploy/Release pipeline - #77
Merged
Merged
Conversation
…leases Test (renamed from the old build-dmg workflow) now also runs typecheck and the unit/integration suite, and runs on PRs too, not just pushes to main. Deploy computes the next semver tag from conventional-commit subjects (scripts/next_version.sh, ported near-verbatim from moomux) and dispatches Release, which builds, code-signs, notarizes, and publishes the DMG/zip to a GitHub Release. afterSign.js gains a CI path: APPLE_ID/APPLE_APP_PASSWORD/APPLE_TEAM_ID env vars (used by the Release workflow) alongside the existing local keychain-profile path for dev machines. Needs these repo secrets before Release can actually run: CSC_LINK, CSC_KEY_PASSWORD, APPLE_ID, APPLE_APP_PASSWORD, APPLE_TEAM_ID.
Points afitzgerald/homebrew-diffier at the signed DMG electron-builder just published, so `brew install --cask afitzgerald/diffier/diffier` tracks releases automatically.
afitzgerald
added a commit
that referenced
this pull request
Sep 30, 2026
Mirror moomux's Test/Deploy/Release pipeline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adopts the same three-workflow shape as erickgnclvs/moomux's release process:
build-dmg.yml) — now also runsyarn typecheckandyarn test, and runs on PRs too (previously push-to-main only). Still builds an unsigned DMG as a build-check artifact.main; computes the nextvX.Y.Ztag from conventional-commit subjects since the last tag (scripts/next_version.sh, ported near-verbatim from moomux —type!:/BREAKING CHANGE→ major, else patch), tags, pushes, and dispatches Release. Explicit dispatch because aGITHUB_TOKEN-authored tag push doesn't trigger other workflows (GitHub's anti-recursion rule).electron-builder --publish always(added apublish: {provider: github}block topackage.json).build/afterSign.jsgains a CI notarization path (APPLE_ID/APPLE_APP_PASSWORD/APPLE_TEAM_IDenv vars) alongside the existing local keychain-profile path, so dev machines are unaffected.Before Release can actually run, these repo secrets need to be added (Settings → Secrets and variables → Actions):
CSC_LINK/CSC_KEY_PASSWORD— base64-encoded Developer ID Application.p12+ its passwordAPPLE_ID/APPLE_APP_PASSWORD/APPLE_TEAM_ID— notarization credentialsI don't have a way to set these myself (no access to the certificate/passwords). Test and Deploy work without them; Release will fail at the signing step until they're added.
Test plan
node -c build/afterSign.js,bash -n scripts/next_version.shyarn testpasses