diff --git a/.drone.yml b/.drone.yml index c008511..9531e0b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,6 +22,26 @@ steps: - npm ci - npm run lint +--- + +kind: pipeline +type: docker +name: audit + +trigger: + event: + - push + - pull_request + branch: + - main + +steps: + - name: audit + image: node:20 + commands: + - npm install -g better-npm-audit + - better-npm-audit audit --production --level=moderate + --- kind: pipeline type: docker