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
19 changes: 12 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
ci:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -41,16 +45,17 @@ jobs:
run: pnpm install --frozen-lockfile

- name: Lint
run: pnpm lint || echo "Lint failed, please fix locally."
continue-on-error: true
run: pnpm lint
continue-on-error: false

- name: Typecheck
run: pnpm typecheck || echo "Typecheck failed, please fix locally."
continue-on-error: true
run: pnpm typecheck
continue-on-error: false

- name: Test
run: pnpm test -- --watch=false || echo "Tests failed, please review."
continue-on-error: true
run: pnpm test
continue-on-error: false

- name: Build packages
run: pnpm -r build || echo "Build failed, please review."
run: pnpm -r build
continue-on-error: false
10 changes: 7 additions & 3 deletions .github/workflows/dependency-health.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- cron: '0 6 * * *'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true

jobs:
dependency-health:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -52,15 +56,15 @@ jobs:

- name: Run Repair Script
run: |
bash scripts/repair-dependencies.sh --dry-run
continue-on-error: true
bash scripts/repair-dependencies.sh
continue-on-error: false

- name: Run Health Check
id: health-check
run: |
bash scripts/master.sh health --json > health-report.json
cat health-report.json
continue-on-error: true
continue-on-error: false

- name: Smart Brain Oracle Analysis
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/deploy-v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ on:
- testnet
- mainnet

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

env:
NODE_VERSION: '20'
PNPM_VERSION: '9'
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Deploy
name: Deploy

on:
push:
branches: [main]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false

jobs:
deploy:
runs-on: ubuntu-latest
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/v3-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
branches: [main, v3]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -44,15 +48,15 @@ jobs:

- name: Run Repair Script (Issue #66)
run: |
bash scripts/repair-dependencies.sh --dry-run
continue-on-error: true
bash scripts/repair-dependencies.sh
continue-on-error: false

- name: Comprehensive Health Check (Issue #66)
id: health-check
run: |
bash scripts/master.sh health --json > health-report.json
cat health-report.json
continue-on-error: true
continue-on-error: false

- name: Smart Brain Oracle Analysis (Issue #66)
run: |
Expand All @@ -72,8 +76,8 @@ jobs:
- name: Type Check
run: |
echo "🔎 Running TypeScript type checks..."
pnpm typecheck || echo "⚠️ Type errors detected (non-blocking)"
continue-on-error: true
pnpm typecheck
continue-on-error: false

- name: Build docs-site
run: |
Expand Down
5 changes: 3 additions & 2 deletions packages/core-services/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
"dev": "tsx watch src/server.ts",
"build": "tsc && tsc-alias",
"start": "node dist/server.js",
"test": "vitest",
"test:watch": "vitest --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:ci": "vitest run --coverage",
"typecheck": "tsc --noEmit",
"lint": "eslint src --ext .ts",
"db:migrate": "tsx src/lib/db/migrate.ts",
Expand Down
Loading