Skip to content

REP-33: transition to Final #157

REP-33: transition to Final

REP-33: transition to Final #157

name: markdown-linter
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
name: run remark lint
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".node-version"
cache: 'pnpm'
- run: pnpm install
- name: Run linter
run: pnpm run lint
- name: Run formatter
run: pnpm run format
- name: Check for uncommitted changes
run: git diff --exit-code