Install Bun 1.3 or newer, then install dependencies:
bun installStart the development server:
bun run devConfigure these variables locally and in Vercel:
GITHUB_TOKEN=
GITHUB_OWNER=
GITHUB_REPOSITORY=The GitHub token should have permission to create issues in the target repository.
Run checks before deployment:
bun run check
bun run lint
bun run build- Create or select a Vercel project.
- Connect the repository.
- Add the required environment variables.
- Deploy.
SvelteKit uses @sveltejs/adapter-vercel, so API routes become Vercel serverless functions.
If POST /api/issues returns an internal error, verify that all required variables exist in the active Vercel environment.
Check token permissions, repository owner, and repository name.
Run bun install, then bun run check. Type errors should be fixed before deployment.