Skip to content

v5.2.1

v5.2.1 #42

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-2019, macos-latest, macos-13]
node-version: [10, 18]
exclude:
- os: macos-13
node-version: 10
name: ${{ matrix.os }} (v${{ matrix.node-version }})
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Update node-gyp
if: matrix.os == 'macos-13'
run: npm install -g node-gyp
- name: Install npm dependencies
run: npm ci --ignore-scripts
- name: Build artifact
run: npm run build
- name: Run tests
run: npm run test