mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-08 14:32:50 +00:00
ci: enforce npm audit for production dependencies
This commit is contained in:
@@ -50,10 +50,7 @@ audit:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- build
|
- build
|
||||||
script:
|
script:
|
||||||
- npm audit
|
- npm audit --production
|
||||||
allow_failure: true
|
|
||||||
except:
|
|
||||||
- schedules
|
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
@@ -66,13 +63,6 @@ pages:
|
|||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
||||||
scheduled-audit:
|
|
||||||
stage: audit
|
|
||||||
script:
|
|
||||||
- npm audit --audit-level=high
|
|
||||||
only:
|
|
||||||
- schedules
|
|
||||||
|
|
||||||
ci:
|
ci:
|
||||||
stage: test
|
stage: test
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
Reference in New Issue
Block a user