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

show folder files

parent 743d58a6
No related branches found
No related tags found
No related merge requests found
...@@ -5,9 +5,6 @@ include: ...@@ -5,9 +5,6 @@ include:
before_script: before_script:
# Set PACKAGE_DIR to "." if not already defined. # PACKAGE_DIR should point to where the package.json file is # Set PACKAGE_DIR to "." if not already defined. # PACKAGE_DIR should point to where the package.json file is
- PACKAGE_DIR=${PACKAGE_DIR:-"."} - PACKAGE_DIR=${PACKAGE_DIR:-"."}
- echo "------------------------------------------------------------------"
- echo "$PACKAGE_DIR"
- 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)
- npm install -g js-green-licenses - npm install -g js-green-licenses
...@@ -33,7 +30,7 @@ license_check: ...@@ -33,7 +30,7 @@ license_check:
- cd $PACKAGE_DIR - cd $PACKAGE_DIR
# install dependencies # install dependencies
- jfrog rt npmi $NPM_REPO_URL - jfrog rt npmi $NPM_REPO_URL
- ls -la $PACKAGE_DIR - ls -la
- jsgl --local $PACKAGE_DIR/ || exit 1 - jsgl --local $PACKAGE_DIR/ || exit 1
only: only:
- tags - tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment