mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 12:36:21 +00:00
feat: auditar dependencias
This commit is contained in:
parent
ce2fd301b4
commit
ef22f29d17
2 changed files with 22 additions and 0 deletions
|
@ -20,3 +20,13 @@ assets:
|
|||
after_script:
|
||||
- "git add public && git commit -m \"ci: assets [skip ci]\""
|
||||
- "git push -o ci.skip"
|
||||
gem-audit:
|
||||
stage: "audit"
|
||||
before_script:
|
||||
- "gem install bundler-audit"
|
||||
script:
|
||||
- "go-task gem-audit"
|
||||
node-audit:
|
||||
stage: "audit"
|
||||
script:
|
||||
- "go-task node-audit"
|
||||
|
|
|
@ -142,3 +142,15 @@ tasks:
|
|||
- "gems"
|
||||
cmds:
|
||||
- "go-task bundle -- exec yardoc -o public/doc app lib config db"
|
||||
gem-audit:
|
||||
desc: "Audit Gem dependencies"
|
||||
deps:
|
||||
- "gems"
|
||||
cmds:
|
||||
- "go-task bundle -- audit --update"
|
||||
node-audit:
|
||||
desc: "Audit Node dependencies"
|
||||
deps:
|
||||
- "node-modules"
|
||||
cmds:
|
||||
- "go-task yarn -- audit"
|
||||
|
|
Loading…
Reference in a new issue