Skip to content

Add GitHub Actions workflow to run Jest tests on push and PR #1

Add GitHub Actions workflow to run Jest tests on push and PR

Add GitHub Actions workflow to run Jest tests on push and PR #1

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test