Skip to content

feat: build cross-project My tasks view #453

feat: build cross-project My tasks view

feat: build cross-project My tasks view #453

Workflow file for this run

name: Quality Check
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:17.6
env:
POSTGRES_USER: mymir
POSTGRES_PASSWORD: mymir
POSTGRES_DB: mymir_test
ports:
- 5432:5432
options: >-
--health-cmd "pg_isready -U mymir -d mymir_test"
--health-interval 2s
--health-timeout 3s
--health-retries 30
steps:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
- name: Cache Bun install cache
uses: actions/cache@v5
with:
path: ~/.bun/install/cache
key: bun-${{ runner.os }}-${{ hashFiles('bun.lock') }}
restore-keys: |
bun-${{ runner.os }}-
- name: Install dependencies
run: bun install --frozen-lockfile
if: github.actor != 'dependabot[bot]'
- name: Install dependencies (Dependabot)
run: bun install
if: github.actor == 'dependabot[bot]'
- name: Audit dependencies
run: bun audit --audit-level=high
- name: Validate PR title
if: github.event_name == 'pull_request'
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
if ! echo "$PR_TITLE" | grep -Pq '^(feat|fix|chore|docs|refactor|test|ci|perf|style|build|revert)(\(.+\))?!?: .+'; then
echo "::error::PR title must follow conventional commits: <type>: <description>"
echo " Types: feat, fix, chore, docs, refactor, test, ci, perf, style, build, revert"
echo " Examples: 'feat: add task graph', 'fix(ai): rate limiter timing'"
exit 1
fi
- name: Format check
run: bun run format:check
- name: Lint
run: bun run lint
- name: Typecheck
run: bun run typecheck
- name: Test
env:
TEST_DATABASE_URL: postgres://mymir:mymir@localhost:5432/mymir_test
run: bun run test
- name: Check plugin drift
run: bun run check:plugins