Skip to content

Commit

Permalink
feat: add automated testing (#3)
Browse files Browse the repository at this point in the history
* fix: filter messages from other topics

* feat(test): add `aedes` dev dependency

* feat(test): implement automatic testing

* fix(ci): use node 20 in test environment

* feat(docs): add test actions badge

* fix: remove unused file
  • Loading branch information
edorgeville authored May 23, 2024
1 parent 33038c7 commit 825caf4
Show file tree
Hide file tree
Showing 10 changed files with 544 additions and 110 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20

- name: Install dependencies
run: npm ci
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<div align="center">
<img src="assets/trpc-mqtt-readme.png" alt="trpc-mqtt" />
<h1>trpc-mqtt</h1>
<a href="https://www.npmjs.com/package/trpc-mqtt"><img src="https://img.shields.io/npm/v/trpc-mqtt.svg?style=flat&color=brightgreen" target="_blank" /></a>
<a href="https://www.npmjs.com/package/trpc-mqtt"><img src="https://img.shields.io/npm/v/trpc-mqtt.svg?style=flat&color=brightgreen" /></a>
<a href="https://github.com/edorgeville/trpc-mqtt/actions/workflows/test.yml"><img src="https://github.com/edorgeville/trpc-mqtt/actions/workflows/test.yml/badge.svg" /></a>
<a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-black" /></a>
<br />
<hr />
Expand Down
Loading

0 comments on commit 825caf4

Please sign in to comment.