Skip to content

binding: mock readFileSync #159

binding: mock readFileSync

binding: mock readFileSync #159

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CI: true
jobs:
run:
name: Node ${{ matrix.node }} / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
node:
- 12
- 14
- 16
- 18
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Set Node.js version
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: node --version
- run: npm --version
- name: Install npm dependencies
run: npm ci
- name: Run tests
run: npm test