diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 598a27c..34a8fbb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - run: npm run test working-directory: node-drivers - - run: sudo apt-get install -y cmake binutils libcap-dev + - run: sudo apt-get update && sudo apt-get install -y cmake binutils libcap-dev - uses: actions/checkout@v4 with: diff --git a/test/integration/eip.js b/test/integration/eip.js index 9a3c6c0..5e2cf7f 100644 --- a/test/integration/eip.js +++ b/test/integration/eip.js @@ -1,5 +1,5 @@ import assert from 'assert'; -import { TCP, CIP } from '../../src/index'; +import { TCP, CIP } from '../../src/index.js'; const tcpLayer = new TCP({ host: '127.0.0.1', port: 44818 }); const eipLayer = new CIP.EIP(tcpLayer);