Skip to content

Make backend an MCP client #853

Make backend an MCP client

Make backend an MCP client #853

Workflow file for this run

name: Frontend CI
on:
pull_request:
push:
branches: [main]
jobs:
frontend-checks:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm ci
- name: Check code formatting with Prettier
run: npx prettier --check "**/*.{js,jsx,ts,tsx,json,md}"
- name: Run ESLint
run: npm run lint
- name: Type check
run: npm run type-check
- name: Run tests
run: npm run test
- name: Build application
env:
NEXT_PUBLIC_BACKEND_URL: "http://dummy-url-for-ci.example.com"
NEXT_PUBLIC_KEYCLOAK_ID: "dummy-keycloak-id"
NEXT_PUBLIC_KEYCLOAK_SECRET: "dummy-keycloak-secret"
NEXT_PUBLIC_KEYCLOAK_ISSUER: "http://dummy-keycloak-issuer.example.com"
run: npm run build