Files
headlamp-agent-skills/.github/workflows/ci.yaml
T
Chris Farhood 4cffd9d310
CI / lint (pull_request) Failing after 29s
fix(ci): add Node.js setup step for markdownlint action
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>
2026-05-20 16:12:05 +00:00

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'