Add GitHub Actions CI (close #29)

This commit is contained in:
Martin Endler
2020-02-07 23:01:02 +01:00
parent 9b48257ecd
commit 7380a20697
2 changed files with 24 additions and 0 deletions

23
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
node: [8.x, 10.x, 12.x, 13.x]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install pcsclite
run: sudo apt-get install -y libpcsclite1 libpcsclite-dev pcscd
if: matrix.os == 'ubuntu-latest'
- name: Compile
run: npm install --verbose