This repository has been archived by the owner on Dec 3, 2024. It is now read-only.
Merge pull request #3 from cclauss/patch-2 #10
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: | |
matrix: | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14' | |
- 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 |