Commit 33b129b0 authored by SBassett's avatar SBassett
Browse files

remove caching, remove ls debug, use npm ci instead of i

parent b1bf127d
Pipeline #1135 passed with stage
in 28 seconds
...@@ -4,11 +4,6 @@ auditjs_dependency_check: ...@@ -4,11 +4,6 @@ auditjs_dependency_check:
stage: test stage: test
allow_failure: false # failed security job fails pipeline by default allow_failure: false # failed security job fails pipeline by default
# config
cache:
paths:
- node_modules/
variables: variables:
AUDITJS_OPTIONS: "ossi" AUDITJS_OPTIONS: "ossi"
...@@ -18,8 +13,7 @@ auditjs_dependency_check: ...@@ -18,8 +13,7 @@ auditjs_dependency_check:
# create a new package lock file, run auditjs # create a new package lock file, run auditjs
script: script:
- ls # debug - npm ci --package-lock-only
- npm install --package-lock-only
- auditjs ${AUDITJS_OPTIONS} - auditjs ${AUDITJS_OPTIONS}
# only run on changes to package and package.lock .json # only run on changes to package and 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