mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-04 04:22:50 +00:00
ci: enforce npm audit for production dependencies
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user