Skip to content

Commit

Permalink
Add github workflow for automated testing
Browse files Browse the repository at this point in the history
  • Loading branch information
robinp7720 committed Oct 13, 2020
1 parent 2d520b5 commit 6a87388
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6a87388

Please sign in to comment.