Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 13 additions & 18 deletions .github/workflows/ci.yml → .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
name: CI
name: E2E

on:
pull_request:
paths:
- "apps/hub/**"
- "packages/**"
- "workflows/**"
- "test/e2e/**"
- "vendor/**"
- "bun.lock"
- "patches/**"
- "package.json"
- "tsconfig.json"
- ".github/**"
merge_group:
push:
branches:
Expand All @@ -12,26 +23,10 @@ permissions:
contents: read

concurrency:
group: ci-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name != 'push' }}

jobs:
check:
name: ${{ matrix.script }}
runs-on: ubuntu-24.04
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
script:
[format:check, lint, typecheck, test, vendor:verify, pins:verify]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: ./.github/actions/setup
- run: bun run ${{ matrix.script }}

e2e:
runs-on: ubuntu-24.04
timeout-minutes: 20
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Format

on:
pull_request:
merge_group:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name != 'push' }}

jobs:
format-check:
name: format:check
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: ./.github/actions/setup
- run: bun run format:check
40 changes: 40 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Lint

on:
pull_request:
paths:
- "apps/**"
- "packages/**"
- "workflows/**"
- "test/**"
- "scripts/**"
- "vendor/**"
- ".oxlintrc.json"
- "bun.lock"
- "patches/**"
- "package.json"
- "tsconfig.json"
- ".github/**"
merge_group:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name != 'push' }}

jobs:
lint:
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: ./.github/actions/setup
- run: bun run lint
36 changes: 36 additions & 0 deletions .github/workflows/pins.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Pins

on:
pull_request:
paths:
- "**/package.json"
- "scripts/verify-pins.ts"
- "bun.lock"
- "patches/**"
- "package.json"
- "tsconfig.json"
- ".github/**"
merge_group:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name != 'push' }}

jobs:
pins-verify:
name: pins:verify
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: ./.github/actions/setup
- run: bun run pins:verify
38 changes: 38 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Test

on:
pull_request:
paths:
- "apps/**"
- "packages/**"
- "workflows/**"
- "test/integration/**"
- "vendor/**"
- "bun.lock"
- "patches/**"
- "package.json"
- "tsconfig.json"
- ".github/**"
merge_group:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name != 'push' }}

jobs:
test:
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: ./.github/actions/setup
- run: bun run test
39 changes: 39 additions & 0 deletions .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Typecheck

on:
pull_request:
paths:
- "apps/**"
- "packages/**"
- "workflows/**"
- "test/**"
- "scripts/**"
- "vendor/**"
- "bun.lock"
- "patches/**"
- "package.json"
- "tsconfig.json"
- ".github/**"
merge_group:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name != 'push' }}

jobs:
typecheck:
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: ./.github/actions/setup
- run: bun run typecheck
36 changes: 36 additions & 0 deletions .github/workflows/vendor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Vendor

on:
pull_request:
paths:
- "vendor/**"
- "scripts/verify-vendor.ts"
- "bun.lock"
- "patches/**"
- "package.json"
- "tsconfig.json"
- ".github/**"
merge_group:
push:
branches:
- main
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name != 'push' }}

jobs:
vendor-verify:
name: vendor:verify
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: ./.github/actions/setup
- run: bun run vendor:verify
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<h1 align="center">Builder</h1>
<p align="center">Turn a half-baked idea into a working application, without being a developer.</p>
<p align="center">
<a href="https://github.com/corbitsdev/corbits-builder/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/corbitsdev/corbits-builder/actions/workflows/ci.yml/badge.svg"></a>
<a href="https://github.com/corbitsdev/corbits-builder/actions/workflows/test.yml"><img alt="Tests" src="https://github.com/corbitsdev/corbits-builder/actions/workflows/test.yml/badge.svg"></a>
</p>
<p align="center">
<a href="https://github.com/corbitsdev/corbits-builder/blob/main/docs/USER_MANUAL.md">User manual</a> ·
Expand Down