Merge branch 'gitea-action'

This commit is contained in:
igm
2026-01-11 12:34:17 +08:00
2 changed files with 35 additions and 1 deletions

34
.gitea/workflows/ci.yaml Normal file
View File

@@ -0,0 +1,34 @@
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: "1.3.5"
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Typecheck
run: bun run typecheck
- name: Lint
run: bun run lint
- name: Build
run: bun run build
- name: Test
run: bun run test

View File

@@ -32,5 +32,5 @@
"tslib": "^2.8.1",
"typescript": "^5.7.2"
},
"packageManager": "bun@1.1.42"
"packageManager": "bun@1.3.5"
}