[CI] Add npm audit to the nightly (#4431)

This commit is contained in:
John Hill 2021-11-04 06:53:55 -07:00 committed by GitHub
parent a50c1704e5
commit 980777691a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,15 @@ orbs:
node: circleci/node@4.5.1 node: circleci/node@4.5.1
browser-tools: circleci/browser-tools@1.1.3 browser-tools: circleci/browser-tools@1.1.3
jobs: jobs:
npm-audit:
executor: linux
steps:
- checkout
- node/install:
install-npm: true
node-version: lts/fermium
- run: npm install
- run: npm audit --audit-level=low
test: test:
parameters: parameters:
node-version: node-version:
@ -92,6 +101,7 @@ workflows:
name: node14-firefox-nightly name: node14-firefox-nightly
node-version: lts/fermium node-version: lts/fermium
browser: FirefoxHeadless browser: FirefoxHeadless
- npm-audit
triggers: triggers:
- schedule: - schedule:
cron: "0 0 * * *" cron: "0 0 * * *"