Skip to content

Merge pull request #1209 from jellyfin/nvv-atv-18 #3216

Merge pull request #1209 from jellyfin/nvv-atv-18

Merge pull request #1209 from jellyfin/nvv-atv-18 #3216

Workflow file for this run

name: lint
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
eslint:
name: Lint TypeScript/JavaScript
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: 20
check-latest: true
cache: npm
- name: Install Node.js dependencies
run: npm ci --no-audit
- name: Run eslint
run: npm run lint
lint:
name: Lint Markdown
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up problem matcher
uses: xt0rted/markdownlint-problem-matcher@1a5fabfb577370cfdf5af944d418e4be3ea06f27 # v3.0.0
- name: Run markdownlint
run: npx --package markdownlint-cli markdownlint '**/*.md' --ignore node_modules