feat(npm-library): turn on dependency scanning

parent 3bff1c07
Pipeline #42351643 failed with stages
in 54 seconds
# NOTICE: Must be included after including `gitlab-ci-common.template.yml`.
dependency_scanning:
artifacts:
reports:
dependency_scanning: gl-dependency-scanning-report.json
image: docker:stable
services:
- docker:stable-dind
script:
- export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
- docker run
--env DEP_SCAN_DISABLE_REMOTE_CHECKS="${DEP_SCAN_DISABLE_REMOTE_CHECKS:-false}"
--volume "$PWD:/code"
--volume /var/run/docker.sock:/var/run/docker.sock
"registry.gitlab.com/gitlab-org/security-products/dependency-scanning:$SP_VERSION" /code
stage: test
variables:
DOCKER_DRIVER: overlay2
cache:
paths:
- node_modules/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment