mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user