Skip to content

Security vulnerability scan #562

Security vulnerability scan

Security vulnerability scan #562

name: "Security vulnerability scan"
on:
schedule:
- cron: "20 0 * * *"
jobs:
npm-audit:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
package:
- fabric-ca-client
- fabric-common
- fabric-network
- fabric-protos
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Update npm
run: |
npm update --global npm
npm --version
- name: Scan
run: |
npm install --package-lock-only
npm audit --omit=dev
working-directory: ${{ matrix.package }}