Skip to content

🐛(discovery-server): fix env type inference and class property error #426

🐛(discovery-server): fix env type inference and class property error

🐛(discovery-server): fix env type inference and class property error #426

Workflow file for this run

name: CI
on:
push:
branches: [main, development]
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 'lts/*'
cache: 'npm'
- run: npm ci
- run: npm run lint
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 'lts/*'
cache: 'npm'
- run: npm ci
- name: Build packages (dependency order)
run: npm run build
- name: Type-check services
run: |
npm run -w services/message-manager build
npm run -w services/discovery-server build
npm run -w services/financial-scraper build
npm run -w services/trader-trainer build
npm run -w services/certificate-authority build
npm run -w services/api-gateway build
npm run -w services/admin-interface build
npm run -w services/audit-logger build
npm run -w services/dlq-service build
npm run -w packages/certificate-utils build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 'lts/*'
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm run test:coverage
- name: Import Codecov GPG key
run: |
gpg --keyserver keyserver.ubuntu.com --recv-keys 27034E7FDB850E0BBC2C62FF806BB28AED779869
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true