Skip to content

fix/odedgo/extendable-vercel-ai-methods #122

fix/odedgo/extendable-vercel-ai-methods

fix/odedgo/extendable-vercel-ai-methods #122

Workflow file for this run

name: Tests
on:
push:
branches: [master, main, develop]
pull_request:
branches: [master, main, develop]
jobs:
test:
if: ${{ github.actor != 'atp-release[bot]' }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Run unit tests
run: yarn test:unit
- name: Run integration tests
run: yarn test:integration
# Note: We skip Jest e2e tests due to known isolated-vm + Jest worker
# incompatibility. Integration tests provide complete coverage with
# actual isolated-vm sandboxing (more reliable than Jest e2e).
- name: Check types
run: yarn build
- name: Lint
run: yarn lint || true
integration-comprehensive:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Run comprehensive integration tests
run: yarn test:integration
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
path: |
coverage/
*.log