Skip to content

REP-33: transition to Review #150

REP-33: transition to Review

REP-33: transition to Review #150

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