Server/.gitea/workflows/run-tests.yaml
Refringe a76dfcc029
Fixes Tests Workflow For Real
Can't use `npm ci`. Forgot that we removed the package lock file. Also updated the working directory path.
2024-04-10 15:37:09 -04:00

26 lines
487 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:
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