Skip to content

Update Linter and Fix Vulnerable Dependency #276

Update Linter and Fix Vulnerable Dependency

Update Linter and Fix Vulnerable Dependency #276

Workflow file for this run

name: Lint Codebase
on:
pull_request:
branches:
- main
permissions:
contents: read
issues: write
packages: read
pull-requests: write
statuses: write
jobs:
lint:
name: Lint Codebase
runs-on: ubuntu-latest
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v4
with:
node-version-file: .node-version
cache: npm
- name: Install Dependencies
id: install
run: npm ci
- name: Lint Codebase
id: lint-codebase
env:
DEFAULT_WORKSPACE: ${{ github.workspace }}
GITHUB_TOKEN: ${{ github.token }}
uses: oxsecurity/megalinter/flavors/cupcake@v8