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

on:
push:
branches: [main]
pull_request:

permissions:
contents: read

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

jobs:
check:
name: Typecheck, test, manifest freshness
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24
cache: npm

- run: npm ci

# Deliberately from a clean checkout, before any build step — the
# committed composition-manifest.json must be enough for tsc to pass.
- run: npm run typecheck

- run: npm test

# The manifest is committed but regenerated by prepare-assets; fail if
# a composition change landed without its manifest diff.
- run: npm run prepare-assets
- run: git diff --exit-code src/composition-manifest.json
11 changes: 8 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ dist
.env
.env.local
.env.*.local
worker-configuration.d.ts

# Build artifacts (regenerated by scripts/build.mjs on wrangler dev/deploy)
src/composition-manifest.json
# Build artifacts (regenerated by scripts/build.mjs before vite dev/build).
# src/composition-manifest.json is committed so a clean checkout typechecks;
# prepare-assets rewrites it, so commit the diff when composition files change.
public/_bundled/
public/_hyperframes/

# TanStack Start generated files
.tanstack
.nitro
.output
120 changes: 72 additions & 48 deletions README.md

Large diffs are not rendered by default.

Loading