fix(ci): set BASE_URL so pre-registrant invite route doesn't 500
Some checks failed
Test / vitest (push) Successful in 11m20s
Test / playwright (push) Successful in 17m22s
Test / visual (push) Failing after 11m15s
Test / Notify on failure (push) Has been skipped

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.
This commit is contained in:
Jennie Robinson Faber 2026-05-01 12:08:41 +01:00
parent b45f92a574
commit c3695de5ca

View file

@ -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