Adding basic tests

This commit is contained in:
Logan Cusano
2024-04-03 02:20:30 -04:00
parent 64edc612df
commit be5943e9d4
2 changed files with 102 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
name: Run Socket Server Tests
on:
push:
branches:
- all
# You can adjust the branches as needed
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test