From c3695de5ca74cf0cf7926d3927a9cf66c111bbc7 Mon Sep 17 00:00:00 2001 From: Jennie Robinson Faber Date: Fri, 1 May 2026 12:08:41 +0100 Subject: [PATCH] fix(ci): set BASE_URL so pre-registrant invite route doesn't 500 invite.post.js requires process.env.BASE_URL to build the invite link, returning 500 when unset. The CI workflow stubbed Resend / Mongo / JWT but missed BASE_URL, so the admin-pre-registrants invite spec timed out waiting for the success toast. Set BASE_URL to the test server's URL on both jobs. --- .forgejo/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 5c0ed37..f3348bf 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -30,6 +30,7 @@ jobs: NUXT_PUBLIC_COMING_SOON: 'false' NODE_ENV: development ALLOW_DEV_TEST_ENDPOINTS: 'true' + BASE_URL: http://localhost:3000 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -100,6 +101,7 @@ jobs: NUXT_PUBLIC_COMING_SOON: 'false' NODE_ENV: development ALLOW_DEV_TEST_ENDPOINTS: 'true' + BASE_URL: http://localhost:3000 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4