Skip to content
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
52 changes: 52 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
check:
name: Typecheck, lint, test, build
# The repo is public and the runners are ours: never run code from fork PRs on them.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
runs-on:
group: Default
labels: [self-hosted, linux, x64]
timeout-minutes: 15
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false

# Installs the pnpm version pinned in package.json's `packageManager`.
- uses: pnpm/action-setup@v6

- uses: actions/setup-node@v7
with:
node-version-file: .node-version
cache: pnpm

- name: Install
run: pnpm install --frozen-lockfile

- name: Typecheck
run: pnpm typecheck

- name: Lint
run: pnpm exec biome ci

- name: Test
run: pnpm test

- name: Build
run: pnpm build
52 changes: 33 additions & 19 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,27 +1,41 @@
# Dependencies
node_modules/
.pnpm-store/

dist
.solid
.output
.vercel
.netlify
netlify
# Build output and caches
.output/
.nitro/
.vinxi/
.solid/
dist/
*.tsbuildinfo
.cache/

# Cloudflare Pages functions (https://developers.cloudflare.com/pages/platform/functions)
functions
# Secrets and local environment
.env
.env.*
!.env.example
# Cloudflare: `.dev.vars` holds local secrets for `wrangler dev`
.dev.vars
.dev.vars.*
.wrangler/
*.local
*.pem
*.key

# dependencies
/node_modules
# Logs and test output
*.log
coverage/

# IDEs and editors
/.idea
.project
.classpath
*.launch
.settings/
# Claude Code session config (local dev servers, permissions)
.claude/

# Temp
gitignore
# IDEs and editors
.idea/
.vscode/*
!.vscode/extensions.json
*.swp

# System Files
# System files
.DS_Store
Thumbs.db
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24
Loading