Files
time/.github/workflows/ci.yml
T
teahubxyzandClaude Opus 5.5 9caa59640c
ci / test (pull_request) Successful in 35s
seed: land a venture built elsewhere on yolopreneur.lol
Actions -> seed -> Run workflow with a slug, the URL(s) of a .tgz whose top folder is the slug, and its sha256
(plus a name and a one-liner for a new venture). seed.py checks the bundle (sha256, plain files and folders under
<slug>/ only, an index.html, 64 MB at most), copies it over ventures/<slug>/ on gh-pages in one commit, adds or
refreshes the venture's line in ventures/ventures.json without changing the ledger's layout, and the workflow asks
Teahub pages to pull. Nothing in the bundle runs; inputs reach the script through the environment. It shares the
venture loop's concurrency group, since both write gh-pages. test_seed.py runs in CI.

First use: House Hand at househand.yolopreneur.lol, built on hb-5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K9wtGiGEeq1H5DA3T88PRe
2026-10-15 23:46:29 +00:00

22 lines
694 B
YAML

name: ci
# Time's own tests. Also the check that lets Time auto-merge changes to itself.
on:
pull_request:
push:
branches: [main]
paths-ignore: ["time/ledger/**"] # Time appends its own spend ledger every run; that is not a code change
workflow_dispatch: # Time can run CI on a worker's PR branch by hand
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v4 # node 22+ has node:sqlite, which the passkey test runs on
with:
node-version: 22
- run: python3 .github/time/test_time.py
- run: python3 .github/time/test_seed.py