mirror of https://gitlab.com/curben/blog
ci: move snyk to weekly 'renovate' job
This commit is contained in:
parent
1417d7d408
commit
683501520e
|
@ -16,7 +16,6 @@ build:
|
|||
- npm install
|
||||
|
||||
script:
|
||||
- npm install snyk && npm run snyk # Refer to "scripts" in package.json
|
||||
- npm run build # Generate site
|
||||
|
||||
rules:
|
||||
|
@ -75,6 +74,7 @@ renovate: # Check dependency update
|
|||
script:
|
||||
- npm install renovate
|
||||
- npm run renovate
|
||||
- npm install snyk && npm run snyk
|
||||
|
||||
rules:
|
||||
- if: '$RENOVATE == "true" && $CI_COMMIT_REF_NAME == "master" && ($CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web")'
|
||||
|
|
Loading…
Reference in New Issue