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

try find bug

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