Skip to content

Minor perf improvements, parsing refactor + bug fixes #1

Minor perf improvements, parsing refactor + bug fixes

Minor perf improvements, parsing refactor + bug fixes #1

Workflow file for this run

name: Markdown & JSON Lint/Format
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Node.js
uses: actions/setup-node@v5
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: package.json
- name: Install dependencies
run: |
if [ -f package-lock.json ]; then
npm ci
else
npm i --no-audit --no-fund
fi
- name: Prettier check (Markdown)
run: npm run format:md:check
- name: Prettier check (JSON / asmdef / asmref)
run: npm run format:json:check
- name: Markdown lint
run: npm run lint:markdown
- name: Enforce EOL (CRLF) and No BOM
shell: pwsh
run: ./scripts/check-eol.ps1 -VerboseOutput