Context
Split out of #3 — electrobun itself now builds correctly (dev + stable), but there's no CI validating it on push/PR, and no automated release pipeline publishing to GitHub Releases.
What's needed
Draft workflow YAML (written and locally verified against this repo's nx build desktop targets, not yet committed):
.github/workflows/ci.yml:
name: CI
on:
push:
branches: [dev]
pull_request:
branches: [dev]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun install --frozen-lockfile
- run: bunx nx run-many -t lint test build
- run: bunx nx build desktop --configuration=dev
.github/workflows/release.yml:
name: Release
on:
push:
tags: ['v*']
permissions:
contents: write
jobs:
release:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun install --frozen-lockfile
- run: bun run build:stable
- uses: softprops/action-gh-release@v2
with:
files: artifacts/*
generate_release_notes: true
Both were run locally against this repo (after #3's apps/desktop Nx project) and produced correct output.
Context
Split out of #3 — electrobun itself now builds correctly (dev + stable), but there's no CI validating it on push/PR, and no automated release pipeline publishing to GitHub Releases.
What's needed
dev, runnx run-many -t lint test build+nx build desktop --configuration=devonwindows-latest(usingoven-sh/setup-bun)v*tag push, runnx build desktop(stable) and publishartifacts/*to a GitHub Release viasoftprops/action-gh-releaserelease.baseUrlinelectrobun.config.tsshould point athttps://github.com/draylegend/letora/releases/latest/downloadfor auto-update to work off GitHub ReleasesDraft workflow YAML (written and locally verified against this repo's
nx build desktoptargets, not yet committed):.github/workflows/ci.yml:.github/workflows/release.yml:Both were run locally against this repo (after #3's
apps/desktopNx project) and produced correct output.