ci: add Gitea Actions workflow

This commit is contained in:
openhands committed 2026-07-30 17:49:38 +02:00
1 parent da390e447f
commit cc95a0d690
1 file changed
+50
+50
View File
@@ -0,0 +1,50 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
NEXT_TELEMETRY_DISABLED: "1"
jobs:
lint:
runs-on: ubuntu-latest
container:
image: node:22-slim
steps:
- uses: actions/checkout@v4
- run: corepack enable && corepack prepare [email protected] --activate
- run: pnpm install --frozen-lockfile
- run: pnpm biome:lint
typecheck:
runs-on: ubuntu-latest
container:
image: node:22-slim
steps:
- uses: actions/checkout@v4
- run: corepack enable && corepack prepare [email protected] --activate
- run: pnpm install --frozen-lockfile
- run: pnpm typecheck
test:
runs-on: ubuntu-latest
container:
image: node:22-slim
steps:
- uses: actions/checkout@v4
- run: corepack enable && corepack prepare [email protected] --activate
- run: pnpm install --frozen-lockfile
- run: pnpm test
build:
runs-on: ubuntu-latest
container:
image: node:22-slim
steps:
- uses: actions/checkout@v4
- run: corepack enable && corepack prepare [email protected] --activate
- run: pnpm install --frozen-lockfile
- run: pnpm build