name: test-web # Web SPA: vitest + svelte-check. Runs on push to dev/main and PRs to # main, scoped to web/** changes only — Go-only or Flutter-only diffs # don't trigger this workflow. on: push: branches: [dev, main] paths: - 'web/**' - '.gitea/workflows/test-web.yml' pull_request: branches: [main] paths: - 'web/**' - '.gitea/workflows/test-web.yml' jobs: test: runs-on: go-ci container: image: git.fabledsword.com/bvandeusen/ci-go:1.26 defaults: run: working-directory: web steps: - name: Checkout uses: actions/checkout@v4 - name: Install deps run: npm ci - name: Type-check + svelte-check run: npm run check - name: Vitest run: npm test