image: node:14 # This folder is cached between builds # http://docs.gitlab.com/ce/ci/yaml/README.html#cache cache: paths: - node_modules/ test_async: script: - npm install - npm test .dependabot: image: name: docker.io/andrcuns/dependabot-gitlab:0.11.0 entrypoint: [''] variables: GIT_STRATEGY: none PACKAGE_MANAGER: $CI_JOB_NAME RAILS_ENV: production SETTINGS__GITLAB_URL: $CI_SERVER_URL SETTINGS__STANDALONE: 'true' before_script: - cd /home/dependabot/app script: - bundle exec rake "dependabot:update[$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME,$PACKAGE_MANAGER,/]" rules: - if: '$CI_PIPELINE_SOURCE == "schedule" && $SCHEDULE_NAME == "dependabot"' gitsubmodule: extends: .dependabot pip: extends: .dependabot