Skip to content

change eslint version for peer dependencies #2

change eslint version for peer dependencies

change eslint version for peer dependencies #2

Workflow file for this run

on:
push:
jobs:
npm-audit-scan-job:
name: NPM Audit Scan for Vulnerabilities
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Step3 Install Dependencies
run: npm install
- name: NPM Audit Scan and Generate Report in JSON Format
run: npm audit --json > npm-audit-results.json
continue-on-error: true
- name: Upload NPM Audit Scan Report to GitHub
uses: actions/upload-artifact@v3
with:
name: npm-audit-results
path: npm-audit-results.json