Skip to content

build(deps-dev): bump eslint from 9.7.0 to 9.12.0 #941

build(deps-dev): bump eslint from 9.7.0 to 9.12.0

build(deps-dev): bump eslint from 9.7.0 to 9.12.0 #941

name: Build and Test
on:
push:
branches:
- dev
- master
paths-ignore:
- 'README.md'
pull_request:
paths-ignore:
- 'README.md'
jobs:
build_and_test:
name: Build and run tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: docker build .crossbar -t wampy/crossbar
- run: docker run --rm --name crossbar -d -p 8888:8888 wampy/crossbar
- run: until docker logs crossbar | grep -qm 1 "NODE_BOOT_COMPLETE"; do sleep 0.2 ; done
- run: npm ci
- run: npm test
- name: Create test coverage report
run: ./node_modules/c8/bin/c8.js report --reporter=lcovonly
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true
flag-name: run ${{ join(matrix.*, ' - ') }}