From 6a87388f54f5e0f2e6aea84ca33d41b89b1813f7 Mon Sep 17 00:00:00 2001 From: Zeyphros Date: Tue, 13 Oct 2020 20:16:43 +0200 Subject: [PATCH] Add github workflow for automated testing --- .github/workflows/node.js.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 673bd33..6da9559 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -19,11 +19,16 @@ jobs: node-version: [10.x, 12.x, 14.x] steps: + - name: Apt update + run: sudo apt-get update + - name: Install dependancies + run: sudo apt-get install libavahi-compat-libdnssd-dev python-guessit - uses: actions/checkout@v2 + - name: Checkout submodules + run: git submodule update --init --recursive - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - run: npm ci - - run: npm run build --if-present - run: npm test