Skip to content

Update README to add demo and stats #83

Update README to add demo and stats

Update README to add demo and stats #83

Workflow file for this run

name: "Shortest Tests"
on:
pull_request:
branches: [main]
jobs:
shortest:
runs-on: ubuntu-latest
timeout-minutes: 10
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
CLERK_PUBLISHABLE_KEY: ${{ secrets.CLERK_PUBLISHABLE_KEY }}
CLERK_SECRET_KEY: ${{ secrets.CLERK_SECRET_KEY }}
steps:
- uses: actions/checkout@v4
# Setup pnpm first
- uses: pnpm/action-setup@v2
with:
version: 8
# Then setup Node with pnpm caching
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Install Playwright
run: pnpm exec playwright install chromium
- name: Wait for Vercel preview deployment
uses: patrickedqvist/[email protected]
id: waitFor
with:
token: ${{ secrets.GITHUB_TOKEN }}
max_timeout: 300
check_status: false
- name: Run Shortest tests
env:
SHORTEST_TEST_BASE_URL: ${{ steps.waitFor.outputs.url }}
run: pnpm shortest --headless --target=${{ steps.waitFor.outputs.url }}