Skip to content

chore: Configure Renovate - autoclosed #6

chore: Configure Renovate - autoclosed

chore: Configure Renovate - autoclosed #6

Workflow file for this run

name: Build & Test
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
workflow_dispatch:
jobs:
build:
strategy:
matrix:
node: [10, 12, 14, 16, 18, 19]
os: [ubuntu-22.04]
include:
# single mac test due to minute multipliers
# https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions
- node: 18
os: macos-12
# single windows test due to node.js 14 node-gyp / vs 2022 issues
- node: 18
os: windows-2022
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Node ${{ matrix.node }} in ${{ runner.os }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: "npm"
- name: Update node-gyp
run: npm install --global node-gyp@latest
- name: Install Windows packages
if: runner.os == 'Windows'
run: ./win_install.ps1
- name: Build
run: npm ci
# skipping on windows for now due to Make / mocha exit code issues
- name: Test
if: runner.os != 'Windows' && matrix.node != 10
run: npm test