Skip to content

Test DISCOVERY-437 (bonus: smoke test viewScanList!) #462

Test DISCOVERY-437 (bonus: smoke test viewScanList!)

Test DISCOVERY-437 (bonus: smoke test viewScanList!) #462

Workflow file for this run

name: NPM Audit
on:
push:
branches: [ main ]
tags:
- '*'
pull_request:
jobs:
Audit:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Node.js modules cache
uses: actions/cache@v4
id: modules-cache
with:
path: ${{ github.workspace }}/node_modules
key: ${{ runner.os }}-${{ matrix.node-version }}-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node-version }}-modules
- name: npm audit
run: npm audit --audit-level=high --only=prod