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:
13
.github/workflows/workflow.yml
vendored
13
.github/workflows/workflow.yml
vendored
@@ -62,10 +62,19 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
|
||||
- name: Install Playwright Browsers
|
||||
run: pnpm exec ./apps/e2e/node_modules/.bin/playwright install --with-deps
|
||||
|
||||
- name: Supabase CLI
|
||||
uses: supabase/setup-cli@v1
|
||||
|
||||
- name: Supabase Server
|
||||
run: pnpm run supabase:web:start -- -x studio,migra,deno-relay,pgadmin-schema-diff,imgproxy,logflare
|
||||
|
||||
- name: Run App
|
||||
run: pnpm run dev
|
||||
run: pnpm run dev &
|
||||
|
||||
- name: Run Playwright tests
|
||||
run: pnpm run test
|
||||
- uses: actions/upload-artifact@v4
|
||||
@@ -73,4 +82,4 @@ jobs:
|
||||
with:
|
||||
name: playwright-report
|
||||
path: playwright-report/
|
||||
retention-days: 30
|
||||
retention-days: 7
|
||||
|
||||
Reference in New Issue
Block a user