This repository has been archived on 2021-04-21. You can view files and clone it, but cannot push or open issues or pull requests.
Files
node-pcsclite/.github/workflows/ci.yml
Martin Endler dacf2a082f Remove bindings dependency (require the built addon directly because the build output location is well-known and constant)
Add note about a possible error and its solution to the README
Improve .editorconfig
Run tests in CI workflow
2020-02-23 18:09:39 +01:00

26 lines
614 B
YAML

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
- name: Run tests
run: npm test