Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test and Coverage

# on:
# push:
# branches:
# - main
# pull_request:
on: ['push', 'pull_request']
jobs:
test-and-coverage:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Run tests with coverage
run: npm run test -- --coverage

- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,27 @@
# rsql-query-builder-mongodb

Library for building RSQL query strings for MongoDB in TypeScript and JavaScript.

# rsql-query-builder

Library for building RSQL query strings in TypeScript and JavaScript.

[![NPM Version][npm-version-image]][npm-url]
[![NPM License][npm-license-image]][npm-url]
[![Coverage][coveralls-image]][coveralls-url]

## Installation

```bash
$ npm install rsql-query-builder-mongodb
```

## License

[MIT](LICENSE)

[npm-version-image]: https://img.shields.io/npm/v/rsql-query-builder-mongodb
[npm-url]: https://npmjs.org/package/rsql-query-builder-mongodb
[npm-license-image]: https://img.shields.io/npm/l/rsql-query-builder-mongodb
[coveralls-image]: https://coveralls.io/repos/github/woigl/rsql-query-builder-mongodb/badge.svg?branch=main
[coveralls-url]: https://coveralls.io/github/woigl/rsql-query-builder-mongodb?branch=main
Loading