Skip to content

Merge pull request #101 from issue-ops/dependabot/npm_and_yarn/npm-pr… #79

Merge pull request #101 from issue-ops/dependabot/npm_and_yarn/npm-pr…

Merge pull request #101 from issue-ops/dependabot/npm_and_yarn/npm-pr… #79

Workflow file for this run

name: Lint Codebase
on:
push:
branches:
- main
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
uses: oxsecurity/megalinter/flavors/javascript@v8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}