Commit 49ddb7b7 authored by Mstyles's avatar Mstyles
Browse files

Update npm-audit-nodejs-14-ci.yml

parent 7a346f04
Pipeline #1177 passed with stage
in 34 seconds
npm_audit_dependency_check: npm_audit_dependency_check:
image: docker-registry.wikimedia.org/nodejs12-devel:0.0.1-20210905 image: docker-registry.wikimedia.org/nodejs12-devel:0.0.1-20211031
stage: test stage: test
allow_failure: false allow_failure: false
variables: variables:
COVERAGE_DIR: /builds/$CI_PROJECT_PATH/coverage NPM_AUDIT_OPTIONS: "--moderate"
NPM_AUDIT_OPTIONS: ""
before_script:
- apt-get update -yqq
- npm install -g audit-ci
- npm install
script: script:
- mkdir -p ${COVERAGE_DIR} - audit-ci ${NPM_AUDIT_OPTIONS}
- npm install # to force a package-lock refresh, if necessary
- npm audit ${NPM_AUDIT_OPTIONS} # only run on changes to package and package.lock .json
only:
changes:
- package.json
- package-lock.json
- "**/*package.json"
- "**/*package-lock.json"
Supports Markdown
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