Skip to content

Revise coap request node (along the lines of the http request node) #355

Revise coap request node (along the lines of the http request node)

Revise coap request node (along the lines of the http request node) #355

Workflow file for this run

name: Build Status
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
release:
types: [published]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Linting with jshint
run: npm run jshint
- name: Perform tests and generate coverage report
run: |
npm test
npm run coverage
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
continue-on-error: true