Skip to content

Commit

Permalink
batches added
Browse files Browse the repository at this point in the history
  • Loading branch information
wjamilaion committed Oct 25, 2023
1 parent e6594d9 commit 8903487
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/build.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test and Coverage

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

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

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20

- name: Install dependencies
run: npm install

- name: Run tests and generate coverage
run: npm test -- --coverage

- name: Upload coverage report
uses: actions/upload-artifact@v2
with:
name: coverage
path: ./coverage

7 changes: 7 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@

NestJS Redis Connector is a library that simplifies using Redis as a caching mechanism in your NestJS-based projects. This library provides an easy-to-use interface for connecting to a Redis server and interacting with it.

## Badges

[![Build Status](https://github.com/wjamilaion/redis-connector/workflows/Test%20and%20Coverage/badge.svg)](https://github.com/wjamilaion/redis-connector/actions)


[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)


## Installation

Expand Down

0 comments on commit 8903487

Please sign in to comment.