Update Supabase server instructions and scripts

Updated README.md and scripts to separate the 'web application' and 'Supabase server' in the development process. Modified package.json to include specific scripts for starting, stopping, and generating the Supabase schema. Also adjusted GitHub workflow to start Supabase server before running the app and reduced retention of Playwright report artifacts from 30 to 7 days.
This commit is contained in:
giancarlo
2024-04-11 17:01:27 +08:00
parent 49c050c92b
commit 473de45f19
4 changed files with 48 additions and 4 deletions

View File

@@ -14,7 +14,7 @@
"start": "pnpm with-env next start",
"typecheck": "tsc --noEmit",
"with-env": "dotenv -e ./.env.local --",
"supabase:dev": "supabase status || supabase start",
"supabase:start": "supabase status || supabase start",
"supabase:stop": "supabase stop",
"supabase:reset": "supabase db reset || supabase start",
"supabase:status": "supabase status",