Add board and stack management for 0.3.0
Some checks are pending
Validate Decky / web-client (push) Waiting to run

This commit is contained in:
Elijah 2026-07-19 19:03:18 -07:00
parent dfb04462f3
commit 6a8c6a1eb6
16 changed files with 364 additions and 92 deletions

View file

@ -1,43 +0,0 @@
name: Release Decky
on:
push:
tags:
- 'v*'
jobs:
windows-release:
# This label must match a trusted Windows Forgejo runner with Node, Rust,
# Visual Studio C++ Build Tools, and WebView2/NSIS build prerequisites.
runs-on: windows-latest
steps:
- name: Check out the tagged source
uses: https://data.forgejo.org/actions/checkout@v6
- name: Set up Node.js
uses: https://data.forgejo.org/actions/setup-node@v4
with:
node-version: '22'
cache: npm
cache-dependency-path: app/package-lock.json
- name: Set up Rust
uses: https://github.com/dtolnay/rust-toolchain@stable
- name: Build signed installer and updater metadata
shell: pwsh
working-directory: .
env:
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
run: |
$version = '${{ forgejo.ref_name }}'.TrimStart('v')
./scripts/Prepare-Release.ps1 -Version $version -Notes "See the Forgejo release for changes in Decky $version."
- name: Publish Forgejo release and stable update metadata
shell: pwsh
env:
FORGEJO_TOKEN: ${{ forgejo.token }}
run: |
$version = '${{ forgejo.ref_name }}'.TrimStart('v')
./scripts/Publish-ForgejoRelease.ps1 -Version $version -Notes "Decky $version"

View file

@ -0,0 +1,34 @@
name: Validate Decky
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
web-client:
# This matches the standard Docker label used by Forgejo Runner. If the
# Unraid runner advertises a different label, change only this value.
runs-on: docker
container:
image: node:22-bookworm
steps:
- name: Check out source
uses: https://data.forgejo.org/actions/checkout@v6
- name: Install locked dependencies
working-directory: app
run: npm ci
- name: Validate Svelte and TypeScript
working-directory: app
run: npm run check
- name: Run unit tests
working-directory: app
run: npm test
- name: Build web assets
working-directory: app
run: npm run build