test: log cli version in cli-hello-world[-ivy] integration projects (#28421)

This helps debug issues on CI.

PR Close #28421
This commit is contained in:
George Kalpakas 2019-01-17 21:38:19 +02:00 committed by Matias Niemelä
parent 1da403d8f3
commit c64e666755
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@
"ng": "ng", "ng": "ng",
"postinstall": "webdriver-manager update --gecko=false --standalone=false $CI_CHROMEDRIVER_VERSION_ARG && yarn ivy-ngcc", "postinstall": "webdriver-manager update --gecko=false --standalone=false $CI_CHROMEDRIVER_VERSION_ARG && yarn ivy-ngcc",
"start": "ng serve", "start": "ng serve",
"pretest": "ng version",
"//test1": "TODO FW-813: Re-enable `ci-production`. Currently, it fails after a timeout as Protractor reports Angular cannot be found on the page", "//test1": "TODO FW-813: Re-enable `ci-production`. Currently, it fails after a timeout as Protractor reports Angular cannot be found on the page",
"//test2": "ng test --progress=false --watch=false && yarn e2e --configuration=ci && yarn e2e --configuration=ci-production", "//test2": "ng test --progress=false --watch=false && yarn e2e --configuration=ci && yarn e2e --configuration=ci-production",
"test": "ng test --progress=false --watch=false && yarn e2e --configuration=ci" "test": "ng test --progress=false --watch=false && yarn e2e --configuration=ci"

View File

@ -9,6 +9,7 @@
"ng": "ng", "ng": "ng",
"postinstall": "webdriver-manager update --gecko=false --standalone=false $CI_CHROMEDRIVER_VERSION_ARG", "postinstall": "webdriver-manager update --gecko=false --standalone=false $CI_CHROMEDRIVER_VERSION_ARG",
"start": "ng serve", "start": "ng serve",
"pretest": "ng version",
"test": "ng test --progress=false --watch=false && yarn e2e --configuration=ci && yarn e2e --configuration=ci-production" "test": "ng test --progress=false --watch=false && yarn e2e --configuration=ci && yarn e2e --configuration=ci-production"
}, },
"private": true, "private": true,