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: 1 addition & 1 deletion .github/workflows/keepalive.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Keepalive
name: πŸ’“ Keepalive

# Supabase pauses a free-tier project after roughly a week without external API
# traffic, which takes production and the e2e suite down with it. Nothing else in
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: CI
name: πŸ§ͺ Pull request checks

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

# Least privilege: this workflow only reads the repository. Set explicitly so it
# stays read-only even if the repo or org default token permission is widened.
Expand Down
45 changes: 45 additions & 0 deletions .github/workflows/sanity-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: βœ… Sanity check

on:
push:
branches: [main]

# Least privilege: this workflow only reads the repository.
permissions:
contents: read

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

env:
BUN_VERSION: 1.3.14

jobs:
sanity-check:
name: 🩺 Sanity check
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: πŸ“₯ Checkout repository
uses: actions/checkout@v5
with:
persist-credentials: false

- name: πŸ₯Ÿ Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ env.BUN_VERSION }}

- name: πŸ“¦ Install dependencies
run: bun install --frozen-lockfile

- name: 🚦 Full check
run: bun run system-check

- name: πŸŽ‰ All clear
run: echo "βœ… ${GITHUB_SHA:0:7} landed on \`main\` clean β€” typecheck, format, lint, tests, and web build all green." >> "$GITHUB_STEP_SUMMARY"

- name: 🚨 Something broke
if: failure()
run: echo "πŸ’₯ ${GITHUB_SHA:0:7} broke \`main\` β€” check the failed step above." >> "$GITHUB_STEP_SUMMARY"
Loading