Unverified Commit 60115cd8 authored by Alexandre Burgoni's avatar Alexandre Burgoni
Browse files

Fix: typescript_compile add jsconfig.json

parent fe501c8e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -26,7 +26,9 @@ typescript_compile:
    - if [ -f "${CI_PROJECT_DIR}/${PROJECT_ROOT}/package-lock.json" ]; then npm install; fi
    # In case the user doesn't have a valid tsconfig.json
    # We use the initialize from TSC to do so
    - if [ ! -f "${CI_PROJECT_DIR}/${PROJECT_ROOT}/tsconfig.json" ]; then
    - |
      if [ ! -f "${CI_PROJECT_DIR}/${PROJECT_ROOT}/tsconfig.json" ]
      && [ ! -f "${CI_PROJECT_DIR}/${PROJECT_ROOT}/jsconfig.json" ]; then
    -   cd ${CI_PROJECT_DIR}/${PROJECT_ROOT}
    -   tsc --init
    - fi