Skip to content

Add CI workflow to run Jest tests on PRs #2

Add CI workflow to run Jest tests on PRs

Add CI workflow to run Jest tests on PRs #2

Workflow file for this run

name: CI
permissions:
contents: read
on: [pull_request]
jobs:
test:
name: 🧪 Run tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 24
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test