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
|
- npm install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- npm install snyk && npm run snyk # Refer to "scripts" in package.json
|
|
||||||
- npm run build # Generate site
|
- npm run build # Generate site
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
|
@ -75,6 +74,7 @@ renovate: # Check dependency update
|
||||||
script:
|
script:
|
||||||
- npm install renovate
|
- npm install renovate
|
||||||
- npm run renovate
|
- npm run renovate
|
||||||
|
- npm install snyk && npm run snyk
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
- if: '$RENOVATE == "true" && $CI_COMMIT_REF_NAME == "master" && ($CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web")'
|
- if: '$RENOVATE == "true" && $CI_COMMIT_REF_NAME == "master" && ($CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web")'
|
||||||
|
|
Loading…
Reference in New Issue