From 426abe302fef92e9c028aa4038e92d5c47489d6b Mon Sep 17 00:00:00 2001 From: oznu Date: Sat, 15 Aug 2020 15:33:35 +1000 Subject: [PATCH] hb-service install in github actions vm --- .github/workflows/test.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 98d63a4ee..adfc1502b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,10 +29,11 @@ jobs: - run: npm run lint:server - run: npm run test:e2e + # test hb-service - run: node dist/bin/hb-service.js -v - - if: matrix.os == 'macos-latest' - run: sudo node dist/bin/hb-service.js install - - if: matrix.os == 'ubuntu-latest' + - if: runner.os == 'Linux' run: sudo node dist/bin/hb-service.js install --user homebridge - - if: matrix.os == 'windows-latest' + - if: runner.os == 'macOS' + run: sudo node dist/bin/hb-service.js install + - if: runner.os == 'Windows' run: node dist/bin/hb-service.js install \ No newline at end of file