From 1d4794d20382bd5aeb77d48cb40fce68ebcad3f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20H=C3=B8iby?= Date: Thu, 4 Jun 2026 09:59:21 +0200 Subject: [PATCH] ci: add CI workflow + README badges Add GitHub Actions CI running the node:test suite on Node 22, plus CI and Open BSV License badges under the README title. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yml | 15 +++++++++++++++ README.md | 3 +++ 2 files changed, 18 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6733810 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,15 @@ +name: CI +on: + push: + branches: [main] + pull_request: +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 + - run: npm install + - run: npm test diff --git a/README.md b/README.md index a61fda8..ea8fe76 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # junglebus-indexer +[![CI](https://github.com/datamynt/junglebus-indexer/actions/workflows/ci.yml/badge.svg)](https://github.com/datamynt/junglebus-indexer/actions/workflows/ci.yml) +[![License](https://img.shields.io/badge/license-Open%20BSV-blue.svg)](LICENSE) + Generic BSV transaction indexer powered by [JungleBus](https://junglebus.gorillapool.io) from [GorillaPool](https://gorillapool.io). Subscribe to any on-chain data pattern, parse [Bitcoin Schema](https://bitcoinschema.org) protocols (B, MAP, AIP), and store it wherever you want. Comes with a production-tested engine featuring automatic reconnection, watchdog stale-stream detection, and query timeouts.