ci: move snyk to weekly 'renovate' job

This commit is contained in:
Ming Di Leom 2021-03-15 21:58:08 +00:00
parent 1417d7d408
commit 683501520e
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 1 additions and 1 deletions

View File

@ -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")'