Implement input validation and supporting tests with automation of the tests via actions.

This commit is contained in:
Fred Boniface
2025-03-12 21:47:03 +00:00
parent d20d981190
commit c54e517700
6 changed files with 4032 additions and 6 deletions

View File

@@ -0,0 +1,25 @@
name: Run Jest tests
on:
push:
jobs:
run-tests:
runs-on: ubuntu-22.04
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Setup up Node
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install Dependencies
run: npm install
- name: Run Tests
run: npm test