Skip to content

Update prettier requirement from ^3.8.0 to ^3.8.1 (#167) #281

Update prettier requirement from ^3.8.0 to ^3.8.1 (#167)

Update prettier requirement from ^3.8.0 to ^3.8.1 (#167) #281

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@v6.0.1
- name: Setup Node.js
uses: actions/setup-node@v6.2.0
with:
node-version: "22"
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