mirror of https://gitlab.com/curben/blog
chore(dev-deps): move snyk and renovate to ci scripts
This commit is contained in:
parent
bbb688aa23
commit
955b1d6517
|
@ -10,6 +10,7 @@ before_script:
|
|||
|
||||
test:
|
||||
script:
|
||||
- npm install snyk
|
||||
- npm run snyk # Refer to "scripts" in package.json
|
||||
- npm run hexo
|
||||
|
||||
|
@ -23,6 +24,7 @@ test:
|
|||
|
||||
renovate: # Check dependency update
|
||||
script:
|
||||
- npm install renovate
|
||||
- npm run renovate
|
||||
|
||||
only:
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[context.production]
|
||||
publish = "public"
|
||||
command = "npm run snyk && npm run hexo"
|
||||
command = "npm install snyk && npm run snyk && npm run hexo"
|
||||
|
|
|
@ -19,9 +19,5 @@
|
|||
"hexo-renderer-marked": "hexojs/hexo-renderer-marked",
|
||||
"hexo-server": "hexojs/hexo-server",
|
||||
"hexo-yam": "curbengh/hexo-yam"
|
||||
},
|
||||
"devDependencies": {
|
||||
"renovate": "^19.0.0",
|
||||
"snyk": "^1.136.1"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue