Skip to content

Upgraded deps: nan, eslint #96

Upgraded deps: nan, eslint

Upgraded deps: nan, eslint #96

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
virtual-environment: ['ubuntu-latest', 'macos-latest', 'windows-2019']
node: [12, 14, 16, 18, 20, 21]
runs-on: ${{ matrix.virtual-environment }}
steps:
- name: Configure git (Windows specific)
if: matrix.virtual-environment == 'windows-2019'
run: git config --global core.autocrlf false
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install dependencies and build
run: npm install
- name: Run linter
run: node node_modules/eslint/bin/eslint .
- name: Run test suite
run: node node_modules/mocha/bin/mocha tests