feat: add CI workflow for backend and frontend tests
Test / backend-tests (push) Failing after 9s
Test / frontend-tests (push) Successful in 9s

This commit is contained in:
LaurensBartelds committed 2026-04-26 21:23:14 +02:00
1 parent 6277826472
commit a37c093cc4
1 file changed
+37
+37
View File
@@ -0,0 +1,37 @@
name: Test
on:
push:
branches:
- '**'
jobs:
backend-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
cache-dependency-path: ./backend/package-lock.json
- run: npm ci
- run: npm test
frontend-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
cache-dependency-path: ./frontend/package-lock.json
- run: npm ci
- run: npm run test:run