Skip to content

Revert PR 88 and update openai inference config #141

Revert PR 88 and update openai inference config

Revert PR 88 and update openai inference config #141

Workflow file for this run

name: Unit Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Run Unit Tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
# Run tests on multiple Node.js versions to ensure compatibility
steps:
- uses: actions/checkout@v4
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run unit tests
run: npm run test:unit
- name: Run unit tests with coverage
run: npm run test:unit:coverage
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-report-node-${{ matrix.node-version }}
path: coverage/
retention-days: 7