Skip to content

run eslint against mdx and md files #733

run eslint against mdx and md files

run eslint against mdx and md files #733

Workflow file for this run

name: Mintlify Continuous Integration
run-name: run eslint against mdx and md files
on:
pull_request:
branches: [main]
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
# https://vercel.com/guides/corepack-errors-github-actions
- name: Use Latest Corepack
run: |
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
npm install -g corepack@latest
echo "After : corepack version => $(corepack --version)"
corepack enable
pnpm --version
- run: pnpm i
- run: pnpm lint