Commit b283d1b5 authored by Mstyles's avatar Mstyles
Browse files

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

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