Server/.gitea/workflows/run-tests.yaml
Refringe 94b7d31bc8
Fixes Tests Workflow
Apparently we need node to run node. 🙄
2024-04-10 15:32:39 -04:00

27 lines
451 B
YAML

name: Run Tests
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
trigger-main-build:
runs-on: ubuntu-latest
container:
image: node:20.11.1-bookworm
steps:
- uses: actions/checkout@v3
with:
path: 'server'
fetch-depth: 1
- name: Install Dependencies
working-directory: server
run: npm ci
- name: Run Tests
working-directory: server
run: npm run test