Skip to content

Update to NextJS v16 #16

Update to NextJS v16

Update to NextJS v16 #16

Workflow file for this run

name: Markdown Lint
on:
push:
branches: [main]
paths:
- '**/*.md'
- '.markdownlint.json'
- '.markdownlintignore'
- '.github/workflows/markdown-lint.yaml'
pull_request:
branches: [main]
paths:
- '**/*.md'
- '.markdownlint.json'
- '.markdownlintignore'
- '.github/workflows/markdown-lint.yaml'
permissions:
contents: read
jobs:
lint-markdown:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
- name: Cache Node.js modules
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Run installs
run: npm ci
- name: Run markdownlint on Markdown files
run: npm run lint:markdown