fixes to tests
Some checks failed
Run Socket Server Tests / test (push) Failing after 45s

This commit is contained in:
Logan Cusano
2024-04-03 02:28:34 -04:00
parent c78ed89707
commit 3319a9617e

View File

@@ -1,10 +1,6 @@
name: Run Socket Server Tests
on:
push:
branches:
- all
# You can adjust the branches as needed
on: [push]
jobs:
test:
@@ -12,15 +8,20 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- name: Setup Node.js
uses: actions/setup-node@v3
working-directory: './server'
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '20'
- name: Install dependencies
run: npm install
working-directory: './server'
run: npm install dev
- run: echo "Node has finished installing dependencies"
- name: Run tests
working-directory: './server'
run: npm test