Some checks failed
Run Socket Server Tests / test (push) Failing after 8s
Potential fix for not running
29 lines
650 B
YAML
29 lines
650 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
|
|
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" |