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.