actions: add basic sanity check for api & web

This commit is contained in:
dumbmoron
2024-05-17 16:12:35 +00:00
parent 0e45540ac1
commit b1f781d000
2 changed files with 98 additions and 0 deletions

25
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Run tests
on:
pull_request:
push:
branches: [ current ]
jobs:
test-web:
name: web sanity check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run test script
run: .github/test.sh web
test-api:
name: api sanity check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run test script
run: .github/test.sh api