Files
DRBv3/.gitea/workflows/server_tests.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 23: mapping key "run" already defined at line 22
Logan Cusano 0f8dc86dd5 trying v3
2024-04-03 03:11:49 -04:00

27 lines
640 B
YAML

name: Run Socket Server Tests
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- name: Setup Node.js
working-directory: './server'
uses: actions/setup-node@v3
with:
node-version: '20'
- 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