Update environment files and modify SQL trigger
Environment files have been updated; a typo corrected in .env.development, and new variables added in .env.test. Sequence of variables were also reorganized in .env.test for better readability. Additionally, the name of an SQL trigger in seed.sql file has been changed to align with naming convention. Lastly, the application running command in workflow.yml has been modified for efficiency.
This commit is contained in:
3
.github/workflows/workflow.yml
vendored
3
.github/workflows/workflow.yml
vendored
@@ -88,8 +88,7 @@ jobs:
|
||||
|
||||
- name: Run App
|
||||
run: |
|
||||
pnpm --filter web build:test
|
||||
pnpm --filter web start:test &
|
||||
pnpm run dev
|
||||
|
||||
- name: Run Playwright tests
|
||||
run: pnpm run test
|
||||
|
||||
@@ -13,7 +13,7 @@ NEXT_PUBLIC_THEME_COLOR_DARK="#0a0a0a"
|
||||
# LOCALES PATH
|
||||
NEXT_PUBLIC_LOCALES_PATH=apps/web/public/locales
|
||||
|
||||
# PATHS (to be used in "packaages")
|
||||
# PATHS (to be used in "packages")
|
||||
SIGN_IN_PATH=/auth/sign-in
|
||||
SIGN_UP_PATH=/auth/sign-up
|
||||
TEAM_ACCOUNTS_HOME_PATH=/home
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
# TEST ENVIRONMENT VARIABLES
|
||||
NEXT_PUBLIC_CI=true
|
||||
|
||||
# SITE
|
||||
NEXT_PUBLIC_SITE_URL=http://localhost:3000
|
||||
NEXT_PUBLIC_PRODUCT_NAME=Makerkit
|
||||
@@ -7,6 +10,15 @@ NEXT_PUBLIC_DEFAULT_THEME_MODE=light
|
||||
NEXT_PUBLIC_THEME_COLOR="#ffffff"
|
||||
NEXT_PUBLIC_THEME_COLOR_DARK="#0a0a0a"
|
||||
|
||||
# LOCALES PATH
|
||||
NEXT_PUBLIC_LOCALES_PATH=apps/web/public/locales
|
||||
|
||||
# PATHS (to be used in "packages")
|
||||
SIGN_IN_PATH=/auth/sign-in
|
||||
SIGN_UP_PATH=/auth/sign-up
|
||||
TEAM_ACCOUNTS_HOME_PATH=/home
|
||||
INVITATION_PAGE_PATH=/join
|
||||
|
||||
# CMS
|
||||
CMS_CLIENT=keystatic
|
||||
|
||||
@@ -42,10 +54,3 @@ NEXT_PUBLIC_ENABLE_ACCOUNT_DELETION=true
|
||||
NEXT_PUBLIC_ENABLE_PERSONAL_ACCOUNT_BILLING=true
|
||||
NEXT_PUBLIC_ENABLE_ORGANIZATION_DELETION=true
|
||||
NEXT_PUBLIC_ENABLE_ORGANIZATION_BILLING=true
|
||||
|
||||
NEXT_PUBLIC_CI=true
|
||||
|
||||
SIGN_IN_PATH=/auth/sign-in
|
||||
SIGN_UP_PATH=/auth/sign-up
|
||||
TEAM_ACCOUNTS_HOME_PATH=/home
|
||||
INVITATION_PAGE_PATH=/join
|
||||
@@ -25,7 +25,7 @@ execute function "supabase_functions"."http_request"(
|
||||
);
|
||||
|
||||
-- this webhook will be triggered after every delete on the accounts_memberships table
|
||||
create trigger "account_membership_delete" after delete
|
||||
create trigger "accounts_memberships_delete" after delete
|
||||
on "public"."accounts_memberships" for each row
|
||||
execute function "supabase_functions"."http_request"(
|
||||
'http://host.docker.internal:3000/api/db/webhook',
|
||||
|
||||
Reference in New Issue
Block a user