Add web CI (#473)

This commit is contained in:
Jonas Plum
2025-08-24 10:49:44 +02:00
committed by GitHub
parent 4ba0281e0f
commit c904e3d34e
2 changed files with 32 additions and 1 deletions

31
.github/workflows/web.yaml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: Web CI
on:
push:
branches: [ main ]
paths:
- '.github/**'
- 'web/**'
pull_request:
paths:
- '.github/**'
- 'web/**'
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v4
with:
node-version: '22'
- run: npm install
- run: npm run check
continue-on-error: true
- run: npm run test:unit

View File

@@ -10,7 +10,7 @@
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test:integration": "playwright test",
"test:unit": "vitest"
"test:unit": "vitest --passWithNoTests"
},
"devDependencies": {
"@playwright/test": "^1.42.1",