Skip to content

Add rudimentary validation of the MQTT broker URL #160

Add rudimentary validation of the MQTT broker URL

Add rudimentary validation of the MQTT broker URL #160

Workflow file for this run

name: Run tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 12.x, 14.x, 16.x, 18.x ]
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
- name: Verify program runs correctly
run: node eda-modbus-bridge.mjs --help