Skip to content

ci: add non-required Node 'latest' job; docs: add CHANGELOG entry for Node support updates #400

ci: add non-required Node 'latest' job; docs: add CHANGELOG entry for Node support updates

ci: add non-required Node 'latest' job; docs: add CHANGELOG entry for Node support updates #400

Workflow file for this run

name: Node Test CI
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.allow-failure }}
strategy:
matrix:
# build against all active LTS and current stable node; include "latest" as an extra, non-required signal
node-version: [18.x, 20.x, 22.x, 24.x, latest]
allow-failure: [false]
include:
- node-version: latest
allow-failure: true
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test