fix: CI workflow — pnpm yerine bun + gerekli env vars
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
Muhammed Emin Akalan
2026-07-24 03:29:13 +03:00
parent 5ce68c7932
commit 03107841ac

View File

@@ -13,26 +13,20 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup pnpm - name: Setup Bun
uses: pnpm/action-setup@v4 uses: oven-sh/setup-bun@v2
with: with:
version: 9 bun-version: latest
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies - name: Install dependencies
run: pnpm install --frozen-lockfile run: bun install --frozen-lockfile
- name: Lint - name: Lint
run: pnpm lint run: bun run lint
- name: Build - name: Build
run: pnpm build run: bun run build
env: 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" NEXT_TELEMETRY_DISABLED: "1"
BETTER_AUTH_SECRET: "ci-placeholder"
APP_DB_URL: "file:./data/app.db"