Merge pull request #33 from petrzjunior/node-14 #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, 14.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 | |
- name: Run tests | |
run: npm test | |
# TODO: enable once tests do not get stuck on Windows | |
if: matrix.os != 'windows-latest' |