Files
DRBv3/.gitea/workflows/server_tests.yaml
Logan Cusano 3319a9617e
Some checks failed
Run Socket Server Tests / test (push) Failing after 45s
fixes to tests
2024-04-03 02:28:34 -04:00

27 lines
644 B
YAML

name: Run Socket Server Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- name: Setup Node.js
working-directory: './server'
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
working-directory: './server'
run: npm install dev
- run: echo "Node has finished installing dependencies"
- name: Run tests
working-directory: './server'
run: npm test