feat(ai-native): ship the AI-native discoverability hierarchy #107
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |