Files
kolaytercih/.gitea/workflows/ci.yaml
bilalgursen 307e778d62
Some checks failed
CI / build (push) Has been cancelled
feat: add CI workflow configuration for automated builds and linting
2026-07-24 02:56:04 +03:00

39 lines
834 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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"