38 lines
841 B
YAML
38 lines
841 B
YAML
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.22.4
|
|
entrypoint: ['']
|
|
variables:
|
|
GIT_STRATEGY: none
|
|
PACKAGE_MANAGER: $CI_JOB_NAME
|
|
RAILS_ENV: production
|
|
SECRET_KEY_BASE: key
|
|
SETTINGS__GITLAB_URL: $CI_SERVER_URL
|
|
SETTINGS__STANDALONE: 'true'
|
|
SETTINGS__LOG_COLOR: '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
|