Server/.gitea/workflows/run-tests.yaml

27 lines
451 B
YAML
Raw Normal View History

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