Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macOS-latest ]
node-version: [ 8.x, 10.x, 12.x, 13.x, 14.x, 16.x, 18.x, 20.x ]
node-version: [ 8.x, 10.x, 12.x, 13.x, 14.x, 16.x, 18.x, 20.x , 22.x ]
exclude:
# exclude Node.js 8.x on ubuntu-latest
# node-gyp fails during in gyp's Python code:
Expand Down Expand Up @@ -48,13 +48,13 @@ jobs:

- name: Use Node.js ${{ matrix.node-version }}
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install pcsclite
run: sudo apt-get install -y libpcsclite1 libpcsclite-dev pcscd
if: matrix.os == 'ubuntu-latest'
if: runner.os == 'Linux'

- name: Compile
run: npm install --verbose
Expand All @@ -63,4 +63,4 @@ jobs:
run: npm test
# TODO: enable once tests do not get stuck on Windows
# Mocha and Sinon.JS support only Node.js >=14.x
if: matrix.os != 'windows-latest' && contains(fromJSON('["14.x", "16.x", "18.x", "20.x"]'), matrix.node-version)
if: runner.os != 'Windows' && contains(fromJSON('["14.x", "16.x", "18.x", "20.x", "22.x"]'), matrix.node-version)