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

27 lines
513 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: refringe/spt-build-node:1.0.7
steps:
- uses: actions/checkout@v3
with:
lfs: true
fetch-depth: 1
- name: Install Dependencies
working-directory: /workspace/SPT-AKI/Server/project
run: npm install
- name: Run Tests
working-directory: /workspace/SPT-AKI/Server/project
run: npm run test