Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 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
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
node-version: 22
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Fail on high production dependency advisories
run: pnpm audit --prod --audit-level=high
- run: pnpm format:check
- run: pnpm lint:i18n
- run: pnpm validate:content
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,16 @@ pnpm test:smoke
```

Smoke tests run against `scripts/preview-server.ts` over HTTP: the subscribe proxy
(including invalid input, provider conflicts, outages and the unconfigured case) and
(including validation, rate limiting, duplicate submissions, provider outages and the unconfigured case) and
the OG image endpoint (rendering, query escaping, cache headers and the failure
response). Buttondown is stubbed, so no mail is sent and no test touches the network.
The suite runs on every pull request in CI.

The subscribe endpoint accepts JSON bodies up to 2,048 bytes and the documented `newsletter`
(default) and `careers` tags. It allows five submissions per Vercel client IP per
15-minute window; the in-memory, HMAC-keyed limiter avoids retaining raw IP addresses
and is scoped to each warm serverless instance.

## Link checks

```bash
Expand Down
Loading
Loading