Initial implementation of Bluetooth toy control app
CI / Static checks (push) Successful in 1m27s
CI / Build and push image (push) Skipped

Next.js app with a browser-side buttplug/buttplug-wasm control layer
(server never touches real-time device commands), SQLite storage via
Drizzle, single-secret auth, recordings/replay with device remapping,
a usage stats dashboard, Docker deployment, and Gitea CI.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01W8WkFF5ppURBAB918593Eb
This commit is contained in:
2026-08-25 07:51:38 +02:00
co-authored by Claude Sonnet 5
commit 1119c8eea0
112 changed files with 15522 additions and 0 deletions
+64
View File
@@ -0,0 +1,64 @@
name: CI
on:
push:
pull_request:
jobs:
checks:
name: Static checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
# `next build` runs its own full TypeScript check as part of the
# build - a separate `tsc --noEmit` here would fail on a clean
# checkout anyway, since it needs .next/types (generated by this
# same build) for Next's own ambient types like LayoutProps.
- name: Build
run: pnpm build
publish:
name: Build and push image
if: startsWith(github.ref, 'refs/tags/')
needs: checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Log in to the Gitea container registry
run: echo "$PACKAGE_TOKEN" | docker login dev.pivoine.art -u ${{ github.repository_owner }} --password-stdin
env:
PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
- name: Build image
run: |
docker build \
-t dev.pivoine.art/${{ github.repository }}:latest \
-t dev.pivoine.art/${{ github.repository }}:${{ github.ref_name }} \
.
- name: Push image
run: |
docker push dev.pivoine.art/${{ github.repository }}:latest
docker push dev.pivoine.art/${{ github.repository }}:${{ github.ref_name }}
- name: Log out
if: always()
run: docker logout dev.pivoine.art