0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:50:43 -05:00

Run Tests Workflow

This is a Gitea workflow that runs the test suite after a commit or PR.
This commit is contained in:
Refringe 2024-04-10 15:25:41 -04:00
parent 885205c742
commit 9069de76af
Signed by: Refringe
GPG Key ID: 7715B85B4A6306ED

View File

@ -0,0 +1,26 @@
name: Run Tests
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
trigger-main-build:
runs-on: ubuntu-latest
container:
image: node:20.11.1-alpine
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