diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 4297daa..a0e821a 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -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"