Skip to content

feat(ai-native): ship the AI-native discoverability hierarchy #107

feat(ai-native): ship the AI-native discoverability hierarchy

feat(ai-native): ship the AI-native discoverability hierarchy #107

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install deps
run: pnpm install --frozen-lockfile
- name: Install Playwright browsers
run: pnpm --filter chatbotlite exec playwright install --with-deps chromium
- name: Typecheck
run: pnpm --filter chatbotlite run typecheck
- name: Unit tests
run: pnpm --filter chatbotlite run test
- name: Build
run: pnpm --filter chatbotlite run build
- name: E2E tests
run: pnpm --filter chatbotlite run test:e2e
- name: Upload Playwright trace on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: packages/chatbotlite/playwright-report/
retention-days: 7