fix: CI workflow — pnpm yerine bun + gerekli env vars
Some checks failed
CI / build (push) Has been cancelled
Some checks failed
CI / build (push) Has been cancelled
This commit is contained in:
@@ -13,26 +13,20 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
version: 9
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: pnpm
|
||||
bun-version: latest
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
run: bun install --frozen-lockfile
|
||||
|
||||
- name: Lint
|
||||
run: pnpm lint
|
||||
run: bun run lint
|
||||
|
||||
- name: Build
|
||||
run: pnpm build
|
||||
run: bun run 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"
|
||||
BETTER_AUTH_SECRET: "ci-placeholder"
|
||||
APP_DB_URL: "file:./data/app.db"
|
||||
|
||||
Reference in New Issue
Block a user