fix(ci): set ALLOW_DEV_TEST_ENDPOINTS=true for e2e + visual jobs
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:
parent
ba84429917
commit
f62fd4f586
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue