Skip to content

!fixup

!fixup #6

Workflow file for this run

name: CI
on:
pull_request:
push:
permissions:
contents: read
jobs:
test:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: ['0.10', 0.12, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js ${{matrix.node-version}}
uses: actions/setup-node@v3
with:
node-version: ${{matrix.node-version}}
- name: Install dependencies
run: npm install
- name: Downgrade node-gyp
if: ${{matrix.node-version < 10}}
run: npm install node-gyp@7
- name: Build
run: node_modules/.bin/node-gyp rebuild --directory test
- name: Test
run: node_modules/.bin/tap --gc test/js/*-test.js