Skip to content

fix build errors under Node.js 23 and macOS #818

fix build errors under Node.js 23 and macOS

fix build errors under Node.js 23 and macOS #818

Workflow file for this run

name: Node.js
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [18.x, 20.x, 22.x, latest]
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test