Files
CurrenciCombo/.github/workflows/quality.yml
defiQUG f52313e7c6 Enhance ComboHandler and orchestrator functionality with access control and error handling improvements
- Added AccessControl to ComboHandler for role-based access management.
- Implemented gas estimation for plan execution and improved gas limit checks.
- Updated execution and preparation methods to enforce step count limits and role restrictions.
- Enhanced error handling in orchestrator API endpoints with AppError for better validation feedback.
- Integrated request timeout middleware for improved request management.
- Updated Swagger documentation to reflect new API structure and parameters.
2025-11-05 17:55:48 -08:00

42 lines
1.0 KiB
YAML

name: Code Quality
on:
pull_request:
branches: [main, develop]
jobs:
sonarqube:
name: SonarQube Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
code-quality:
name: Code Quality Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18"
- name: Install dependencies
run: |
cd webapp && npm ci
cd ../orchestrator && npm ci
- name: Lint
run: |
cd webapp && npm run lint
cd ../orchestrator && npm run lint || echo "Lint script not configured"
- name: Type Check
run: |
cd webapp && npx tsc --noEmit
cd ../orchestrator && npx tsc --noEmit