Skip to content
Snippets Groups Projects
Commit 743d58a6 authored by Eskudero Gurrutxaga, Ibon's avatar Eskudero Gurrutxaga, Ibon
Browse files

fix bug: avoid limit of 10 lines on before-script

parent 3c487c9e
No related branches found
No related tags found
No related merge requests found
...@@ -3,11 +3,10 @@ include: ...@@ -3,11 +3,10 @@ include:
- https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/test/npm-packages/artifactory_connect.yml - https://git.code.tecnalia.com/digicon-webxr-store/ci-files/-/raw/test/npm-packages/artifactory_connect.yml
before_script: before_script:
# Set PACKAGE_DIR to "." if not already defined. # Set PACKAGE_DIR to "." if not already defined. # PACKAGE_DIR should point to where the package.json file is
# PACKAGE_DIR should point to where the package.json file is
- PACKAGE_DIR=${PACKAGE_DIR:-"."} - PACKAGE_DIR=${PACKAGE_DIR:-"."}
- echo "------------------------------------------------------------------" - echo "------------------------------------------------------------------"
- echo "PACKAGE_DIR: $PACKAGE_DIR" - echo "$PACKAGE_DIR"
- echo "------------------------------------------------------------------" - echo "------------------------------------------------------------------"
# check if package.json exist on PACKAGE_DIR. If not, raise error # check if package.json exist on PACKAGE_DIR. If not, raise error
- test -f $PACKAGE_DIR/package.json || (echo "package.json not found in $PACKAGE_DIR" && exit 1) - test -f $PACKAGE_DIR/package.json || (echo "package.json not found in $PACKAGE_DIR" && exit 1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment