security: lockfile lint check (#4446)

pull/4449/head
John McLear 2020-10-29 18:07:36 +00:00 committed by GitHub
parent 99d5c7c943
commit d21afba45a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -75,6 +75,11 @@ jobs:
- "export GIT_HASH=$(git rev-parse --verify --short HEAD)"
script:
- "tests/frontend/travis/runner.sh"
- name: "Lint test package-lock.json"
install:
- "npm install lockfile-lint"
script:
- npx lockfile-lint --path src/package-lock.json --validate-https --allowed-hosts npm
- name: "Run the Backend tests with Plugins"
install:
- "bin/installDeps.sh"