name: CI on: push: branches: [main, master] pull_request: branches: [main, master] jobs: backend: name: Backend runs-on: ubuntu-latest defaults: run: working-directory: backend steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: '24' cache: npm cache-dependency-path: backend/package-lock.json - run: npm ci - run: npm run typecheck - run: npm run lint:check - run: npm test -- --passWithNoTests - run: npm run test:e2e frontend: name: Frontend runs-on: ubuntu-latest defaults: run: working-directory: frontend steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: '24' cache: npm cache-dependency-path: frontend/package-lock.json - run: npm ci - run: npm run typecheck - run: npm run lint - run: npm test - run: npm run build env: NEXT_PUBLIC_API_URL: http://localhost:4000 helm: name: Helm Charts runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: azure/setup-helm@v4 with: version: v3.15.4 - run: helm lint backend/helm/cloudhost-platform - run: helm lint backend/helm/cloudhost-app - run: helm lint backend/helm/cloudhost-logging