ci: enforce npm audit for production dependencies

This commit is contained in:
Rainer Killinger
2022-08-23 10:12:40 +02:00
parent 001cd4b4de
commit ba07267372

View File

@@ -50,10 +50,7 @@ audit:
dependencies:
- build
script:
- npm audit
allow_failure: true
except:
- schedules
- npm audit --production
pages:
stage: deploy
@@ -66,13 +63,6 @@ pages:
paths:
- public
scheduled-audit:
stage: audit
script:
- npm audit --audit-level=high
only:
- schedules
ci:
stage: test
dependencies: