ci: add gitea quality workflow
All checks were successful
CI / Lint, typecheck and build (push) Successful in 11m26s

This commit is contained in:
zv
2026-06-13 20:05:53 +02:00
parent 72de545282
commit 66ead03f49
6 changed files with 55 additions and 3 deletions

35
.gitea/workflows/ci.yml Normal file
View File

@@ -0,0 +1,35 @@
name: CI
on:
push:
branches:
- main
pull_request:
jobs:
quality:
name: Lint, typecheck and build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Typecheck
run: npm run typecheck
- name: Build
run: npm run build