Skip to content

1.3.5

1.3.5 #95

Workflow file for this run

name: Test
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
name: Test on Node ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup 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: Build tool for e2e tests
run: npm run build
- name: Check code formatting
run: npm run format:check
- name: Run linting
run: npm run lint
- name: Run typecheck
run: npm run typecheck
- name: Run unit tests
run: npm run test:unit
env:
NODE_ENV: test
- name: Run E2E tests (skipping eval tests if not API key is set)
run: npm run test:e2e
env:
NODE_ENV: test