Skip to content

chore: update node-gyp version in devDependencies to >=12.2.0 #29

chore: update node-gyp version in devDependencies to >=12.2.0

chore: update node-gyp version in devDependencies to >=12.2.0 #29

Workflow file for this run

name: CI Tests
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
unit:
runs-on: ${{ matrix.runner }}
strategy:
matrix:
include:
- node: "22.x"
arch: "x64"
runner: windows-latest
platform: win32
- node: "22.x"
arch: "x64"
runner: ubuntu-latest
platform: linux
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install Linux build deps
if: ${{ matrix.platform == 'linux' }}
run: |
sudo apt-get update
sudo apt-get install -y libcups2-dev build-essential python3
shell: bash
- name: Install deps
run: npm ci
- name: Run unit tests
run: npm test