fix(ci): set ALLOW_DEV_TEST_ENDPOINTS=true for e2e + visual jobs
Some checks failed
Test / vitest (push) Successful in 11m6s
Test / playwright (push) Failing after 9m40s
Test / visual (push) Failing after 11m41s
Test / Notify on failure (push) Successful in 3s

Without this flag, server/middleware/03.rate-limit.js applies the
100-req/60s general limit to /api/dev/test-login and trips during
parallel e2e runs. The invite.post.js dev short-circuit also
depends on this env var to skip the Resend call (no RESEND_API_KEY
in CI).
This commit is contained in:
Jennie Robinson Faber 2026-04-30 23:59:15 +01:00
parent ba84429917
commit f62fd4f586

View file

@ -31,6 +31,7 @@ jobs:
JWT_SECRET: ci-test-jwt-secret JWT_SECRET: ci-test-jwt-secret
NUXT_PUBLIC_COMING_SOON: 'false' NUXT_PUBLIC_COMING_SOON: 'false'
NODE_ENV: development NODE_ENV: development
ALLOW_DEV_TEST_ENDPOINTS: 'true'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
@ -82,6 +83,7 @@ jobs:
JWT_SECRET: ci-test-jwt-secret JWT_SECRET: ci-test-jwt-secret
NUXT_PUBLIC_COMING_SOON: 'false' NUXT_PUBLIC_COMING_SOON: 'false'
NODE_ENV: development NODE_ENV: development
ALLOW_DEV_TEST_ENDPOINTS: 'true'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4