Commit b3ece6f8 authored by SBassett's avatar SBassett
Browse files

* Add apt-get install git (apparently not included within node images?)

* Add user root/nobody in before_script directive for better permissions control
parent cd78b065
Pipeline #1338 passed with stage
in 51 seconds
......@@ -7,8 +7,10 @@ npm_audit_dependency_check:
NPM_AUDIT_OPTIONS: "--moderate=true --skip-dev=true --report=true"
before_script:
- apt-get update -yqq
- user root
- apt-get update -yqq && apt-get install -yqq git
- npm install -g audit-ci
- user nobody
script:
- |
......@@ -22,7 +24,6 @@ npm_audit_dependency_check:
npm install
audit-ci ${NPM_AUDIT_OPTIONS}
done
# only run on changes to package and package.lock .json
only:
......
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