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
No known key found for this signature in database
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