Move to GitHub: CI, release workflow and script; cursor and hover states

- ci.yml checks frontend types and build, core tests and that app and
  CLI compile on every push and pull request
- release.yml publishes a GitHub release with notes and checksums for
  tags; scripts/release.sh bumps the version everywhere, tags and pushes
- The Gitea workflow is gone; PKGBUILDs download from GitHub
- Every clickable element shows the pointer and has a hover state;
  disabled controls show not-allowed
- Dev-only fake backend (open the dev server with ?mock) for design work
- README: docs link, install per platform, development, releasing
This commit is contained in:
2026-11-27 21:48:19 +01:00
parent a73490e5d4
commit 14888c3748
22 changed files with 419 additions and 182 deletions
+15 -7
View File
@@ -1,8 +1,8 @@
name: release
# Runs on the GitHub mirror only (Gitea uses .gitea/workflows). macOS and
# Windows minutes are expensive on private repositories, so this runs for
# tags and on demand, not on every push.
# Push a tag vX.Y.Z (scripts/release.sh does it) and this builds every
# platform and publishes a GitHub release. Manual runs build without
# releasing; pick platforms to save macOS and Windows minutes.
on:
push:
tags: ['v*']
@@ -129,13 +129,21 @@ jobs:
- uses: actions/download-artifact@v5
with:
path: artifacts
- name: Attach to the GitHub release
merge-multiple: true
- name: Checksums
run: |
cd artifacts
sha256sum * > SHA256SUMS
cat SHA256SUMS
- name: Publish release
env:
GH_TOKEN: ${{ github.token }}
TAG: ${{ github.ref_name }}
run: |
pre=""
case "$TAG" in *-*) pre="--prerelease";; esac
gh release view "$TAG" -R "$GITHUB_REPOSITORY" >/dev/null 2>&1 \
|| gh release create "$TAG" -R "$GITHUB_REPOSITORY" --title "$TAG" --notes "" $pre
find artifacts -type f -exec gh release upload "$TAG" -R "$GITHUB_REPOSITORY" --clobber {} +
if gh release view "$TAG" -R "$GITHUB_REPOSITORY" >/dev/null 2>&1; then
gh release upload "$TAG" -R "$GITHUB_REPOSITORY" --clobber artifacts/*
else
gh release create "$TAG" -R "$GITHUB_REPOSITORY" --title "knock ${TAG#v}" --generate-notes $pre artifacts/*
fi