Skip to content

test: vitest unit suite + auto-gen llms.txt for AI agents #11

test: vitest unit suite + auto-gen llms.txt for AI agents

test: vitest unit suite + auto-gen llms.txt for AI agents #11

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
name: typecheck · lint · test · build
runs-on: ubuntu-latest
timeout-minutes: 12
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v5
- uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
- name: Install
run: pnpm install --frozen-lockfile
- name: Typecheck
run: pnpm run typecheck
- name: Lint
run: pnpm run lint
continue-on-error: true # remove once eslint config lands
- name: Test
run: pnpm run test
- name: Build
run: pnpm run build
- name: Upload dist artifact
if: github.event_name == 'push'
uses: actions/upload-artifact@v7
with:
name: dist-${{ github.sha }}
path: dist/
retention-days: 7