mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Ensure all SSR caching is disabled in CI environment
This commit is contained in:
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@@ -23,6 +23,9 @@ jobs:
|
|||||||
# Spin up UI on 127.0.0.1 to avoid host resolution issues in e2e tests with Node 18+
|
# Spin up UI on 127.0.0.1 to avoid host resolution issues in e2e tests with Node 18+
|
||||||
DSPACE_UI_HOST: 127.0.0.1
|
DSPACE_UI_HOST: 127.0.0.1
|
||||||
DSPACE_UI_PORT: 4000
|
DSPACE_UI_PORT: 4000
|
||||||
|
# Ensure all SSR caching is disabled in test environment
|
||||||
|
DSPACE_CACHE_SERVERSIDE_BOTCACHE_MAX: 0
|
||||||
|
DSPACE_CACHE_SERVERSIDE_ANONYMOUSCACHE_MAX: 0
|
||||||
# Tell Cypress to run e2e tests using the same UI URL
|
# Tell Cypress to run e2e tests using the same UI URL
|
||||||
CYPRESS_BASE_URL: http://127.0.0.1:4000
|
CYPRESS_BASE_URL: http://127.0.0.1:4000
|
||||||
# When Chrome version is specified, we pin to a specific version of Chrome
|
# When Chrome version is specified, we pin to a specific version of Chrome
|
||||||
|
Reference in New Issue
Block a user