broke: a private money app that runs on your own accounts and your own AI
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
f550865e93
359 files changed
+34290
No files matched your search
@@ -0,0 +1,27 @@
|
||||
# A brand-new install, with no keys, on each system: broke starts and opens its setup page.
|
||||
name: Install test
|
||||
on:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
install:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
- name: Start broke with no keys and check the setup page
|
||||
shell: bash
|
||||
env:
|
||||
BROKE_NO_OPEN: "1"
|
||||
run: |
|
||||
node scripts/start.mjs > start.log 2>&1 &
|
||||
for i in $(seq 1 120); do grep -q "broke is running" start.log && break; sleep 3; done
|
||||
cat start.log
|
||||
curl -fsS http://localhost:3000/setup | grep -q "Set up broke"
|
||||
curl -fsS http://localhost:3000/api/setup/status | grep -q '"canWrite":true'
|
||||
@@ -0,0 +1,22 @@
|
||||
# The "Update broke" button for a copy in your own GitHub: Actions, Update broke, Run workflow.
|
||||
# It pulls in the latest broke and keeps your changes. Vercel then rebuilds your site by itself.
|
||||
name: Update broke
|
||||
on: workflow_dispatch
|
||||
permissions:
|
||||
contents: write
|
||||
jobs:
|
||||
update:
|
||||
if: github.repository != 'nextwork-projects/broke'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
- run: |
|
||||
git config user.name "broke update"
|
||||
git config user.email "broke-update@users.noreply.github.com"
|
||||
node scripts/update.mjs --ci
|
||||
git push
|
||||
Reference in new issue
Block a user