ci(gitea): move workflow to gitea actions
CI / Lint, Test, Build (push) Has been cancelled

This commit is contained in:
2026-07-06 17:53:53 +08:00
parent 3b53fc9bad
commit aeebd77315
+45
View File
@@ -0,0 +1,45 @@
name: CI
on:
pull_request:
push:
branches:
- dev
- gitea
- main
- test
jobs:
verify:
name: Lint, Test, Build
runs-on: ubuntu-latest
env:
NEXT_PUBLIC_APP_ENV: test
NEXT_TELEMETRY_DISABLED: "1"
SENTRY_UPLOAD_SOURCEMAPS: "0"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.30.3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test
- name: Build
run: pnpm build