Commit a4389e08 authored by Joel Collins's avatar Joel Collins
Browse files

Change dependency scanning to plain npm audit

parent 340e8fb0
Loading
Loading
Loading
Loading
+13 −7
Original line number Diff line number Diff line
@@ -13,14 +13,20 @@ cache:
  paths:
  - node_modules/

dependency_scanning:

# Check for dependency vulnerabilities
audit:
  stage: test
  variables:
    CI_DEBUG_TRACE: "true"
    DOCKER_DRIVER: overlay2
  image: electronuserland/builder:wine

  script:
    - npm audit --json> audit.json

  services:
    - docker:19.03.3-dind
  allow_failure: true

  artifacts:
    paths:
      - "./audit.json"


# Electron app build