- commit
- 6599bd584de8eb0fd7b1568695ac0b34c3f53552
- parent
- 72e50c67ba7919a705a10c3900420b30d9b0c20a
- author
- Dami <dami.etoile@gmail.com>
| A | .github/ | 38 | ++++++++++++++++++++++++++++++ |
| M | .github/ | 33 | -------------------------- |
| M | docs/ | bin | |
| M | docs/ | bin |
@@ -0,0 +1,38 @@
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.6+name: celld7+on:8+ workflow_dispatch:9+jobs: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@@ -15,36 +15,3 @@ jobs:
1515 - run: npm ci1616 - run: npm run typecheck1717 - run: npm test18- # The same Worker on celld (docs/16-hosting-without-cloudflare.md): the19- # black-box suite, files included, against `celld dev`. A red run here20- # means the host without Cloudflare broke; fix it or say so in the doc21- # before dropping it.22- celld:23- runs-on: ubuntu-latest24- env:25- CELLD_VERSION: v0.4.026- steps:27- - uses: actions/checkout@v728- - uses: actions/setup-node@v729- with:30- node-version: 2231- cache: npm32- - run: npm ci33- - name: Install celld34- run: |35- curl -fsSL https://celld.dev/install.sh -o install.sh36- sh install.sh37- echo "$HOME/.local/bin" >> "$GITHUB_PATH"38- echo "$PWD/node_modules/.bin" >> "$GITHUB_PATH"39- - name: Start celld dev40- run: |41- celld dev wrangler.celld.jsonc --port 9876 > celld.log 2>&1 &42- for i in $(seq 1 60); do43- curl -sf -o /dev/null http://127.0.0.1:9876/ && break44- sleep 145- done46- curl -sf -H 'accept: application/nostr+json' http://127.0.0.1:9876/47- - run: CLAIM=1 RELAY_URL=ws://127.0.0.1:9876 npm run test:conformance48- - name: celld log49- if: failure()50- run: cat celld.logBinary file.
Binary file.