Files
technitium-console/.github/workflows/develop-image.yml
T
DenozordecandClaude Sonnet 5.5 f3531c64f9 Move the console onto ReUI PRO
Install ReUI (MCP, skill, @reui registry, Tailwind v4, shadcn base-nova) and move
the shared UI onto it: Button, Tag, Check, Input/Textarea, Segmented, Alert, Panel,
Dialog, Tooltip, Menu and Select (Popover), Toast (sonner), the Table frame
(DataGrid), the Dashboard KPI strip, the shnt Ops palette, Geist and the type scale.

Design only: behaviour, texts and roles are unchanged. Tests that asserted the old
DOM were updated; the tests now format numbers in English wherever they run.
docs/reui-migration-plan.md records the plan and its decisions.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-27 00:06:06 +07:00

86 lines
2.8 KiB
YAML

# An init image of whatever is on develop, to pull and try before a release:
# ghcr.io/bygarcia/technitium-console:develop and :develop-<sha7>. It is built
# exactly as a release is (the same tarball action and the same image action)
# and never touches latest, X.Y or X.Y.Z. No release, no notes. Not for
# production: develop moves with every push.
#
# Two jobs, so that the one holding the package token never runs npm: the
# dependencies' install scripts, the tests and the build run in `tarball`,
# which can read the repo and nothing else; `image` only gets their output.
name: Develop image
on:
push:
branches: [develop]
workflow_dispatch:
permissions: {}
# The newest push to develop wins; an older run still going is dropped. Keyed
# on the ref, so a manual run from another branch (which builds nothing)
# cannot cancel a develop build.
concurrency:
group: develop-image-${{ github.ref }}
cancel-in-progress: true
jobs:
tarball:
# develop of this repository only: a manual run from another branch, or a
# fork's own develop, builds nothing.
if: github.repository == 'byGarcia/technitium-console' && github.ref == 'refs/heads/develop'
runs-on: ubuntu-latest
permissions:
contents: read
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: ./.github/actions/console-tarball
- uses: actions/upload-artifact@v7
with:
name: console-tarball
path: |
technitium-console.tar.gz
technitium-console.tar.gz.sha256
if-no-files-found: error
# A day: "Re-run failed jobs" of `image` after that fails at the
# download; "Re-run all jobs" builds the tarball again.
retention-days: 1
image:
needs: tarball
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# bash -eo pipefail: a failing command in a pipe fails the step.
defaults:
run:
shell: bash
steps:
# For install.sh, docker/Dockerfile and the image action; nothing here
# installs or runs the repo's dependencies.
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/download-artifact@v8
with:
name: console-tarball
path: ${{ runner.temp }}/tarball
# init-image checks the tarball against its .sha256 before building.
# develop-<sha7> is pushed with the build; develop moves to it once
# every platform has been checked.
- uses: ./.github/actions/init-image
with:
image: ghcr.io/bygarcia/technitium-console
tarball-dir: ${{ runner.temp }}/tarball
tags: type=sha,prefix=develop-,format=short
floating: develop