Fixed env.

This commit is contained in:
SamTV12345 2024-01-20 18:41:48 +01:00
parent c4fa093a1f
commit e154a6151d
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ jobs:
- -
name: build docker image name: build docker image
run: | run: |
docker build -f Dockerfile -t epl-debian-slim . docker build -f Dockerfile -t epl-debian-slim --env NODE_ENV=develop .
docker build -f src/tests/ratelimit/Dockerfile.nginx -t nginx-latest . docker build -f src/tests/ratelimit/Dockerfile.nginx -t nginx-latest .
docker build -f src/tests/ratelimit/Dockerfile.anotherip -t anotherip . docker build -f src/tests/ratelimit/Dockerfile.anotherip -t anotherip .
- -

View file

@ -94,6 +94,6 @@ jobs:
- -
name: Run Etherpad & Test Frontend name: Run Etherpad & Test Frontend
run: | run: |
node src/node/server.js & (cd src && npx run dev) &
curl --connect-timeout 10 --max-time 20 --retry 5 --retry-delay 10 --retry-max-time 60 --retry-connrefused http://127.0.0.1:9001/p/test curl --connect-timeout 10 --max-time 20 --retry 5 --retry-delay 10 --retry-max-time 60 --retry-connrefused http://127.0.0.1:9001/p/test
./src/node_modules/cypress/bin/cypress run --config-file src/tests/frontend/cypress/cypress.config.js ./src/node_modules/cypress/bin/cypress run --config-file src/tests/frontend/cypress/cypress.config.js