feat: add CI workflow configuration for automated builds and linting
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
bilalgursen
2026-07-24 02:56:04 +03:00
parent a60559f0f6
commit 307e778d62

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

@@ -0,0 +1,38 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Build
run: pnpm build
env:
# Placeholder değerler — build sırasında env okuyan kod varsa çökmemesi için.
# Gerçek değerleri Gitea > Settings > Actions > Secrets üzerinden secrets olarak ekleyin.
NEXT_TELEMETRY_DISABLED: "1"