Files
DRBv3/.gitea/workflows/server_tests.yaml
logan a6c26d61da Update .gitea/workflows/server_tests.yaml
Fixing errors in the workflow
2024-04-06 03:25:07 -04:00

32 lines
677 B
YAML

name: Run Socket Server Tests
on:
push:
branches:
- all
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
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install dependencies
working-directory: './server'
run: npm install
- run: echo "Node has finished installing dependencies"
- name: Run tests
working-directory: './server'
run: npm test
- run: echo "Completed the tests"