Commit ac5bcacd authored by SBassett's avatar SBassett
Browse files

Add npm i --package-lock-only and change check on package.json or package-lock.json

parent babc2183
Pipeline #1130 passed with stage
in 33 seconds
......@@ -16,6 +16,13 @@ auditjs_dependency_check:
- apt-get update -yqq
- npm install -g auditjs
# script
# create a new package lock file, run auditjs
script:
- auditjs ${AUDITJS_OPTIONS} # rate-limited public api
- npm install --package-lock-only
- auditjs ${AUDITJS_OPTIONS}
# only run on changes to package and package.lock .json
only:
changes:
- 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