mirror of https://gitlab.com/curben/blog
test: only run renovate on schedules
not on master branch push
This commit is contained in:
parent
9f4b85d636
commit
1feecd37a4
|
@ -1,17 +1,25 @@
|
|||
image: node:alpine # Use latest version of Node.js on Alpine
|
||||
|
||||
test:
|
||||
cache: # add cache to 'node_modules' for speeding up builds
|
||||
paths:
|
||||
- node_modules/ # Node modules and dependencies
|
||||
|
||||
script:
|
||||
before_script:
|
||||
- npm install
|
||||
|
||||
test:
|
||||
script:
|
||||
- npm run build
|
||||
|
||||
only:
|
||||
- master # only trigger when 'master' branch is pushed
|
||||
|
||||
renovate: # Check dependency update
|
||||
script:
|
||||
- npm run renovate
|
||||
|
||||
only:
|
||||
- master # this job will affect only the 'master' branch
|
||||
- schedules # only triggered by schedules
|
||||
|
||||
|
||||
# # Uncomment below (and comment/remove above) lines for gitlab pages
|
||||
|
|
Loading…
Reference in New Issue