Add CI/CD pipeline with Forgejo Actions #33

Closed
opened 2026-06-09 20:37:42 +00:00 by glow · 1 comment
Owner

Problem

No .forgejo/workflows/ directory. No automated quality gates run on push:

  • No ESLint
  • No TypeScript type check
  • No article validation
  • No formatting check
  • No build smoke test

Suggested implementation

Create .forgejo/workflows/ci.yml:

name: CI
on: [push, pull_request]
jobs:
  quality:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: oven-sh/setup-bun@v2
      - run: bun install
      - run: bun run fmt.check
      - run: bun run lint
      - run: bun run build.types
      - run: bun run scripts/validate-article.ts
      - run: bun run build.server
## Problem No `.forgejo/workflows/` directory. No automated quality gates run on push: - No ESLint - No TypeScript type check - No article validation - No formatting check - No build smoke test ## Suggested implementation Create `.forgejo/workflows/ci.yml`: ```yaml name: CI on: [push, pull_request] jobs: quality: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v2 - run: bun install - run: bun run fmt.check - run: bun run lint - run: bun run build.types - run: bun run scripts/validate-article.ts - run: bun run build.server ```
glow self-assigned this 2026-06-09 20:37:42 +00:00
glow closed this issue 2026-06-09 21:28:43 +00:00
Author
Owner

Created .forgejo/workflows/ci.yml with:

  • actions/checkout@v4 + oven-sh/setup-bun@v2
  • bun install
  • bun run fmt.check
  • bun run lint
  • bun run build.types
  • bun run scripts/validate-article.ts
  • bun run build.server

Pushed in commit 6f1688a. Closes #33.

Created `.forgejo/workflows/ci.yml` with: - `actions/checkout@v4` + `oven-sh/setup-bun@v2` - `bun install` - `bun run fmt.check` - `bun run lint` - `bun run build.types` - `bun run scripts/validate-article.ts` - `bun run build.server` Pushed in commit 6f1688a. Closes #33.
Sign in to join this conversation.
No labels
bug
feature
improvement
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
glow/first-home-diy#33
No description provided.