REP-33: transition to Candidate
#152
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |