5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 18:06:23 +00:00

feat: auditar dependencias

This commit is contained in:
f 2024-01-08 17:36:39 -03:00
parent ce2fd301b4
commit ef22f29d17
No known key found for this signature in database
2 changed files with 22 additions and 0 deletions

View file

@ -20,3 +20,13 @@ assets:
after_script: after_script:
- "git add public && git commit -m \"ci: assets [skip ci]\"" - "git add public && git commit -m \"ci: assets [skip ci]\""
- "git push -o ci.skip" - "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"

View file

@ -142,3 +142,15 @@ tasks:
- "gems" - "gems"
cmds: cmds:
- "go-task bundle -- exec yardoc -o public/doc app lib config db" - "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"