Skip to content

Bump CI node version to 20 #83

Bump CI node version to 20

Bump CI node version to 20 #83

Workflow file for this run

name: CI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
path: node-drivers
- uses: actions/setup-node@v2
with:
node-version: '20'
- run: npm install
working-directory: node-drivers
- run: npm run test
working-directory: node-drivers
- run: sudo apt-get install -y cmake binutils libcap-dev
- uses: actions/checkout@v2
with:
repository: jmmoser/OpENer
path: OpENer
- working-directory: OpENer/bin/posix
run: |
./setup_posix.sh
make
sudo setcap cap_net_raw+ep ./src/ports/POSIX/OpENer
./src/ports/POSIX/OpENer lo &
- working-directory: node-drivers
run: node test/integration/eip.js
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- working-directory: node-drivers
run: |
pip install -U pymodbus
python ./test/integration/modbus/server.py &
- working-directory: node-drivers
run: node test/integration/modbus/client.js