You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
603 B

name: Agent Tests
on:
push:
paths:
- 'apps/api/src/app/endpoints/agent/**'
pull_request:
paths:
- 'apps/api/src/app/endpoints/agent/**'
workflow_dispatch:
jobs:
agent-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- name: Run agent unit tests
run: npx nx test api --testFile=agent.service.spec.ts --skip-nx-cache
- name: Build API (type check)
run: npx nx run api:build --skip-nx-cache