Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Merge pull request #2 from cclauss/patch-1 #13

Merge pull request #2 from cclauss/patch-1

Merge pull request #2 from cclauss/patch-1 #13

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build_and_test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x, latest]
os: [windows-latest, ubuntu-latest, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: install dependencies and test
shell: bash
run: |
npm install
npm test
- name: build with node-gyp
shell: bash
run: |
# npm install -g node-gyp
node-gyp configure
node-gyp rebuild