30 lines
522 B
YAML
30 lines
522 B
YAML
name: web
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "web/**"
|
|
- ".gitea/workflows/web.yaml"
|
|
pull_request:
|
|
paths:
|
|
- "web/**"
|
|
- ".gitea/workflows/web.yaml"
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: web
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 24
|
|
cache: npm
|
|
cache-dependency-path: web/package-lock.json
|
|
- run: npm ci
|
|
- run: npx tsc --noEmit
|
|
- run: npm test
|