diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 646dab71a..327ccd869 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,5 +28,11 @@ jobs: - run: npm run build:server - run: npm run lint:server - run: npm run test:e2e + - run: node dist/bin/hb-service.js -v - - run: node dist/bin/hb-service.js install \ No newline at end of file + - if: matrix.os == 'macos-latest' + run: sudo node dist/bin/hb-service.js install + - if: matrix.os == 'ubuntu-latest' + run: sudo node dist/bin/hb-service.js install --user homebridge + - if: matrix.os == 'windows-latest' + run: node dist/bin/hb-service.js install \ No newline at end of file