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

Let’s demonstrate that Node.js 16 pass the tests #15

Let’s demonstrate that Node.js 16 pass the tests

Let’s demonstrate that Node.js 16 pass the tests #15

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: [14.x, 16.x, 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