Skip to content

fix: package.json & package-lock.json to reduce vulnerabilities #217

fix: package.json & package-lock.json to reduce vulnerabilities

fix: package.json & package-lock.json to reduce vulnerabilities #217

Workflow file for this run

name: ESLint
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "main" ]
jobs:
eslint:
name: Run eslint scanning
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
actions: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'
cache-dependency-path: package-lock.json
- name: Install ESLint
run: |
npm install eslint
- name: Run ESLint
run: npm run lint