Skip to content

fix: test cases for node 20 #347

fix: test cases for node 20

fix: test cases for node 20 #347

Workflow file for this run

name: Build
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'README.md'
branches:
- master
push:
paths-ignore:
- 'docs/**'
- 'README.md'
branches:
- master
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run test
env:
CI: true