Commit 724ea885 authored by Mstyles's avatar Mstyles
Browse files

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

parent 49ddb7b7
Pipeline #1183 passed with stage
in 37 seconds
...@@ -4,6 +4,9 @@ npm-outdated_dependency_check: ...@@ -4,6 +4,9 @@ npm-outdated_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
variables:
NPM_OUTDATED_OPTIONS: "--ignore-pre-releases --ignore-dev-dependencies --prefer-wanted"
before_script: before_script:
- apt-get update -yqq - apt-get update -yqq
- npm install -g check-outdated - npm install -g check-outdated
...@@ -11,7 +14,7 @@ npm-outdated_dependency_check: ...@@ -11,7 +14,7 @@ npm-outdated_dependency_check:
# create a new package lock file, run auditjs # create a new package lock file, run auditjs
script: script:
- check-outdated --ignore-pre-releases --ignore-dev-dependencies - check-outdated ${NPM_OUTDATED_OPTIONS}
# only run on changes to package and package.lock .json # only run on changes to package and package.lock .json
only: only:
......
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