1# The same Worker on celld (docs/16-hosting-without-cloudflare.md): the2# black-box suite, files included, against `celld dev`. Run by hand from the3# Actions tab, or with `gh workflow run celld.yml`, before a release or after4# a celld upgrade; a red run means the host without Cloudflare broke. It is5# not on every push, since the runner's timing makes the sync test flaky.6name: celld7on:8 workflow_dispatch:9jobs:10 celld:11 runs-on: ubuntu-latest12 env:13 CELLD_VERSION: v0.4.014 steps:15 - uses: actions/checkout@v716 - uses: actions/setup-node@v717 with:18 node-version: 2219 cache: npm20 - run: npm ci21 - name: Install celld22 run: |23 curl -fsSL https://celld.dev/install.sh -o install.sh24 sh install.sh25 echo "$HOME/.local/bin" >> "$GITHUB_PATH"26 echo "$PWD/node_modules/.bin" >> "$GITHUB_PATH"27 - name: Start celld dev28 run: |29 celld dev wrangler.celld.jsonc --port 9876 > celld.log 2>&1 &30 for i in $(seq 1 60); do31 curl -sf -o /dev/null http://127.0.0.1:9876/ && break32 sleep 133 done34 curl -sf -H 'accept: application/nostr+json' http://127.0.0.1:9876/35 - run: CLAIM=1 RELAY_URL=ws://127.0.0.1:9876 npm run test:conformance36 - name: celld log37 if: failure()38 run: cat celld.log