4cffd9d310
CI / lint (pull_request) Failing after 29s
The ubuntu-latest runner does not have Node.js pre-installed, causing the markdownlint-cli2-action to fail with 'Cannot find: node in PATH'. Add explicit setup-node step before running the lint action. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
25 lines
422 B
YAML
25 lines
422 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '20'
|
|
|
|
- name: Lint Markdown
|
|
uses: DavidAnson/markdownlint-cli2-action@v22
|
|
with:
|
|
globs: '**/*.md'
|