2024-04-10 21:25:41 +02:00
|
|
|
name: Run Tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: '*'
|
|
|
|
pull_request:
|
|
|
|
branches: '*'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
trigger-main-build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
2024-04-10 22:07:30 +02:00
|
|
|
image: refringe/spt-build-node:1.0.7
|
2024-04-10 21:25:41 +02:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
2024-04-10 22:02:10 +02:00
|
|
|
lfs: true
|
2024-04-10 21:25:41 +02:00
|
|
|
fetch-depth: 1
|
|
|
|
|
|
|
|
- name: Install Dependencies
|
2024-04-10 21:37:09 +02:00
|
|
|
working-directory: /workspace/SPT-AKI/Server/project
|
|
|
|
run: npm install
|
2024-04-10 21:25:41 +02:00
|
|
|
|
|
|
|
- name: Run Tests
|
2024-04-10 21:37:09 +02:00
|
|
|
working-directory: /workspace/SPT-AKI/Server/project
|
2024-04-10 21:25:41 +02:00
|
|
|
run: npm run test
|