Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
ci: typecheck and unit tests on pull requests
Read-only workflow (contents: read, no secrets, no pull_request_target). Tests mock
every external service.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • Loading branch information
razel-hash and claude committed Nov 10, 2026
commit c8ed3bf89c3a3accb95cf4470b3a60391de44cbf
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

# Typecheck and unit tests on every pull request to main. Read-only: no secrets, no
# deploys, no writes. Tests mock every external service (engines, HubSpot, Supabase).
on:
pull_request:
branches: [main]

permissions:
contents: read

concurrency:
group: ci-${{ github.event.pull_request.number }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npx tsc --noEmit
- run: npx vitest run
env:
AEO_HUBSPOT_SYNC: 'off'
Loading