Skip to content

ci: add test suite GitHub workflow #3

ci: add test suite GitHub workflow

ci: add test suite GitHub workflow #3

Workflow file for this run

name: "Test Suite"
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
# Based on https://nodejs.org/en/about/previous-releases
node-version: [22.x, 24.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run tests
run: npm run test