Files
DRBv3/.gitea/workflows/server_tests.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 25: mapping key "run" already defined at line 24 line 30: mapping key "run" already defined at line 29
2024-04-03 22:57:45 -04:00

30 lines
667 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"