adds system dependencies to build workflow
This commit is contained in:
parent
2898e868e9
commit
df502e5333
|
|
@ -17,7 +17,6 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
node-version: [14.x, 15.x]
|
||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
@ -25,7 +24,11 @@ jobs:
|
|||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
sudo apt -qq update
|
||||
sudo apt install -y bluetooth bluez libbluetooth-dev libudev-dev
|
||||
- run: npm ci
|
||||
- run: npm run build --if-present
|
||||
- run: npm lint
|
||||
- run: npm run lint
|
||||
- run: npm test
|
||||
|
|
|
|||
Loading…
Reference in New Issue