Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
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
15 changes: 10 additions & 5 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,25 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
node-version: '20'
cache: 'pnpm'

- name: Install dependencies
run: npm ci
run: pnpm i

- name: Run linter
run: npm run lint:fix
run: pnpm run lint:fix

- name: Run formatter
run: npm run format
run: pnpm run format

- name: Check for changes
run: |
Expand Down
4 changes: 2 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
npm run lint:fix
npm run format
pnpm run lint:fix
pnpm run format
8 changes: 4 additions & 4 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co

## Development Commands

- `npm run dev` - Start development server using Wrangler
- `npm run deploy` - Deploy to Cloudflare Workers
- `npm run format` - Format code using Biome
- `npm run lint:fix` - Lint and fix code using Biome
- `pnpm run dev` - Start development server using Wrangler
- `pnpm run deploy` - Deploy to Cloudflare Workers
- `pnpm run format` - Format code using Biome
- `pnpm run lint:fix` - Lint and fix code using Biome
- `wrangler types` - Generate TypeScript types for Cloudflare Workers

## Code Architecture
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ npx @posthog/wizard@latest mcp add
To run the MCP server locally, run the following command:

```
npm run dev
pnpm run dev
```

And replace `https://mcp.posthog.com/sse` with `http://localhost:8787/sse` in the MCP configuration.
Expand Down
Loading