@@ -0,0 +1,29 @@
|
||||
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
|
||||
Reference in New Issue
Block a user