Skip to content

modify some code in circleci workflow #48

modify some code in circleci workflow

modify some code in circleci workflow #48

Workflow file for this run

name: Node.js Vulnerability Check
on: [push, pull_request]
jobs:
check-vulnerabilities:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '>=18.19.0' # Specify the Node.js version you want to test against
check-latest: true
- name: Run Vulnerability Scan
run: npm audit --json
- name: Fix Vulnerabilities
run: npm audit fix --force --json