Skip to content

fix HelpError handling #140

fix HelpError handling

fix HelpError handling #140

Workflow file for this run

name: Node CI
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
env:
FORCE_COLOR: '1'
name: Build & Test (Node ${{ matrix.node-version }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: ['20', '22', '24']
exclude:
- os: windows-latest
node-version: '20'
steps:
- name: Checkout Repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: ./.github/actions/prepare
with:
node-version: ${{ matrix.node-version }}
- name: Test (Node v20.x)
if: matrix.node-version == '20'
# CAUTION: this only works in POSIX environments
run: npm run test:node20
- name: Test
if: matrix.node-version != '20'
run: npm test