Skip to content

Commit 45941ab

Browse files
tomal214cursoragent
andcommitted
feat: pre-prod hardening for security, workflow UI, and CI
Close validated pre-production gaps: cron bearer auth, rota FK validation, RLS write-role policies, viewer read-only surgeries/templates, task amend with compliance links, fetch error panels across app pages, PWA icons, GitHub Actions CI, and expanded E2E coverage with reliable nurse login flow. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 480dd1f commit 45941ab

50 files changed

Lines changed: 2258 additions & 747 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ NEXT_PUBLIC_SITE_URL=http://localhost:3000
88

99
# Comma-separated emails allowed to access /platform
1010
PLATFORM_ADMIN_EMAILS=you@example.com
11+
12+
# Edge function cron (daily task generation)
13+
CRON_SECRET=change-me-in-production

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main, feat/**]
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: pnpm/action-setup@v4
14+
with:
15+
version: 10
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 20
19+
cache: pnpm
20+
- run: pnpm install --frozen-lockfile
21+
- run: pnpm type-check
22+
- run: pnpm test
23+
- run: pnpm lint
24+
- run: pnpm build

0 commit comments

Comments
 (0)