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 #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build_and_test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
node-version: [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 |