Change dependency scanning to plain npm audit
This commit is contained in:
parent
340e8fb071
commit
a4389e089e
1 changed files with 13 additions and 7 deletions
|
|
@ -13,14 +13,20 @@ cache:
|
||||||
paths:
|
paths:
|
||||||
- node_modules/
|
- node_modules/
|
||||||
|
|
||||||
dependency_scanning:
|
|
||||||
stage: test
|
|
||||||
variables:
|
|
||||||
CI_DEBUG_TRACE: "true"
|
|
||||||
DOCKER_DRIVER: overlay2
|
|
||||||
|
|
||||||
services:
|
# Check for dependency vulnerabilities
|
||||||
- docker:19.03.3-dind
|
audit:
|
||||||
|
stage: test
|
||||||
|
image: electronuserland/builder:wine
|
||||||
|
|
||||||
|
script:
|
||||||
|
- npm audit --json> audit.json
|
||||||
|
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- "./audit.json"
|
||||||
|
|
||||||
|
|
||||||
# Electron app build
|
# Electron app build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue