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
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
- uses: oven-sh/setup-bun@v2
with: { bun-version: "1.3.14" }
- run: bun install --frozen-lockfile
- run: bun run lint
- run: bun run fmt:check
- run: bun run typecheck
- run: bun run test
- name: Cache GTFS feed # fallback so a data.pid.cz outage can't block a deploy
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- uses: oven-sh/setup-bun@v2
with: { bun-version: "1.3.14" }
- run: bun install --frozen-lockfile
- run: bun run lint
- run: bun run fmt:check
- run: bun run typecheck
- run: bun run test
- name: Cache GTFS feed # fallback so a data.pid.cz outage can't block a preview
Expand Down
23 changes: 23 additions & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Git hooks managed by Lefthook (https://lefthook.dev).
# Installed automatically on `bun install` via the `prepare` script.
# Mirrors the CI static checks; bypass a run with `git commit --no-verify`.
pre-commit:
parallel: true
jobs:
- name: lint
run: bun run lint
- name: format
run: bun run fmt:check
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dev": "alchemy dev",
"deploy": "alchemy deploy",
"destroy": "alchemy destroy",
"prepare": "effect-language-service patch"
"prepare": "effect-language-service patch && (lefthook install || true)"
},
"dependencies": {
"@app/contract": "workspace:*",
Expand All @@ -34,6 +34,7 @@
"@types/bun": "^1.3.14",
"@types/node": "^24.0.0",
"@types/ws": "^8.5.0",
"lefthook": "^2.1.9",
"oxfmt": "^0.55.0",
"oxlint": "^1.70.0",
"typescript": "^6.0.3",
Expand Down