Updated workflows to use workflow_dispatch instead of pull_request/push: - backend-foundation.yml: Removed pull_request and push triggers - mobile-ci.yml: Removed pull_request and push triggers with path filters - web-quality.yml: Removed pull_request and push triggers Workflows now only run manually via Actions tab. This gives more control over when CI runs and reduces unnecessary workflow executions.
58 lines
1.4 KiB
YAML
58 lines
1.4 KiB
YAML
name: Backend Foundation
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
backend-foundation-makefile:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Validate backend make targets
|
|
run: |
|
|
make backend-help
|
|
make help | grep "backend-"
|
|
|
|
- name: Dry-run backend automation targets
|
|
run: |
|
|
make -n backend-enable-apis ENV=dev
|
|
make -n backend-bootstrap-dev ENV=dev
|
|
make -n backend-deploy-core ENV=dev
|
|
make -n backend-deploy-commands ENV=dev
|
|
make -n backend-deploy-workers ENV=dev
|
|
make -n backend-smoke-core ENV=dev
|
|
make -n backend-smoke-commands ENV=dev
|
|
make -n backend-logs-core ENV=dev
|
|
|
|
backend-services-tests:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
service:
|
|
- backend/core-api
|
|
- backend/command-api
|
|
defaults:
|
|
run:
|
|
working-directory: ${{ matrix.service }}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
cache: npm
|
|
cache-dependency-path: ${{ matrix.service }}/package-lock.json
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Run tests
|
|
env:
|
|
AUTH_BYPASS: "true"
|
|
LLM_MOCK: "true"
|
|
run: npm test
|