Commit 2a25a32b authored by SBassett's avatar SBassett
Browse files

Create auditjs ci template for nodejs14

parent a90a381f
Pipeline #1151 passed with stage
in 34 seconds
auditjs_dependency_check:
image: docker pull docker-registry.wikimedia.org/releng/node14:0.0.3 # node14 not fully-supported yet?
stage: test
allow_failure: false # failed security job fails pipeline by default
variables:
AUDITJS_OPTIONS: "ossi"
before_script:
- apt-get update -yqq
- npm install -g auditjs
- npm install
# create a new package lock file, run auditjs
script:
- 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