Skip to content

Test: Add Node.js v21 and update GitHub Actions (#67) #74

Test: Add Node.js v21 and update GitHub Actions (#67)

Test: Add Node.js v21 and update GitHub Actions (#67) #74

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [18, 20, 22, latest] # https://nodejs.org/en/about/previous-releases
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} / Node ${{ matrix.node }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install
run: npm install
- name: Test
run: npm test