Skip to content

Add Github Action to run tests in CI #1

Add Github Action to run tests in CI

Add Github Action to run tests in CI #1

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20' # Ensure this matches your Node.js version
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test