use angular serve for e2e (#3085)

* use angular serve for e2e

* generate default .env file

* try to wait for base url

* Revert "try to wait for base url"

This reverts commit 48f55c604d.

* try to sleep a bit

* try waiting for url

* bump timeout

* try different approach

* different timeout attempt

* restore sleep

* do not install global libs on ci
This commit is contained in:
Denys Vuika
2023-03-23 10:45:03 -04:00
committed by GitHub
parent 918176aca2
commit 73a4c95e42
3 changed files with 38 additions and 4 deletions
+1 -3
View File
@@ -46,10 +46,8 @@ runs:
- name: Replace variables in app.config.json
shell: bash
run: |
npm install -g envsub
APP_CONFIG_FILE_PATH="${{ inputs.to }}/app.config.json"
EXTRA_ENV_SETTINGS=""
envsub $EXTRA_ENV_SETTINGS --all $APP_CONFIG_FILE_PATH $APP_CONFIG_FILE_PATH || exit 1
npx envsub --all $APP_CONFIG_FILE_PATH $APP_CONFIG_FILE_PATH || exit 1
echo -n " \_ Validating replaced config file ... ";
$(npm bin)/ajv validate -s ./node_modules/@alfresco/adf-core/app.config.schema.json -d $APP_CONFIG_FILE_PATH --errors=text --verbose || exit 4
if grep -E -q '\$\{[A-Z0-9_]*\}' $APP_CONFIG_FILE_PATH; then